Compare commits

..

2 commits

Author SHA1 Message Date
1b39fc3592
Update csgo config 2022-03-26 15:11:05 +01:00
1b096b242a
Add wayland stuff 2022-03-26 15:11:02 +01:00
8 changed files with 45 additions and 64 deletions

View file

@ -81,6 +81,7 @@ bspc rule -a 'Zathura' state='tiled'
bspc rule -a 'firefox' desktop='web'
bspc rule -a 'qutebrowser' desktop='web'
bspc rule -a 'Gcr-prompter' desktop='web'
bspc rule -a 'KeePassXC:keepassxc:Unlock Database - KeePassXC' desktop='web'
bspc rule -a 'qutebrowser:kiosk' follow='true' desktop='side-view' state='fullscreen'
bspc rule -a 'firefox:Toolkit' follow='true' desktop='side-view' state='fullscreen'

View file

@ -31,10 +31,14 @@ export EDITOR='/usr/bin/vim'
export GOPATH="$XDG_DATA_HOME/go"
_hostname=$(cat /proc/sys/kernel/hostname)
export HOSTNAME="$_hostname"
export KUBECONFIG="$HOME/.kube/config"
export MAILCAPS="$XDG_CONFIG_HOME/mailcap/mailcaprc"
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
_makeflags=$(grep -c ^processor /proc/cpuinfo)
export MAKEFLAGS="-j$_makeflags"
export MARKPATH="$XDG_CONFIG_HOME/zsh/jump_marks"
export MENU="bemenu"
@ -46,8 +50,11 @@ export OSH="$XDG_CONFIG_HOME/bash/oh-my-bash"
export PASSWORD_STORE_GENERATED_LENGTH='64'
export PATH="$HOME/.local/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:$GOPATH/bin:$HOME/.cargo/bin"
export QT_QPA_PLATFORM="wayland;xcb"
export QT_QPA_PLATFORMTHEME="qt5ct"
#export SDL_VIDEODRIVER="wayland"
export TERMINAL="alacritty"
export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc"

View file

@ -8,11 +8,11 @@ super + Return
# program launcher
super + d
rofi -show
LANG=C rofi -show
# password manger
super + p
rofi-pass
LANG=C rofi-pass
# make sxhkd reload its configuration files:
super + Escape

15
.local/bin/wait-for-service Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env sh
user=""
target="$1"
if [ "$1" = "--user" ]; then
user="--user"
target="$2"
fi
until systemctl $user is-active --quiet "$target"
do
sleep 0.5
done

View file

@ -44,7 +44,7 @@ Comment[it]= Un browser web vim-like utilizzabile da tastiera basato su PyQt5
Icon=qutebrowser
Type=Application
Categories=Network;WebBrowser;
Exec=qutebrowser -B .local/share/qutebrowser-kiosk -C .config/qutebrowser/config_kiosk.py --qt-arg name kiosk %u
Exec=qutebrowser -B .local/share/qutebrowser-kiosk -C .config/qutebrowser/config_kiosk.py --desktop-file-name org.qutebrowser.qutebrowser-kiosk --qt-arg name kiosk %u
Terminal=false
StartupNotify=true
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/qute;

View file

@ -141,8 +141,8 @@ c_thirdpersonshoulderaimdist "120.0"
c_thirdpersonshoulderdist "40.0"
c_thirdpersonshoulderheight "5.0"
c_thirdpersonshoulderoffset "20.0"
cachedvalue_count_partybrowser "1647470100"
cachedvalue_count_teammates "1647818762"
cachedvalue_count_partybrowser "1648106766"
cachedvalue_count_teammates "1648245260"
cam_collision "1"
cam_idealdelta "4.0"
cam_idealdist "150"
@ -190,11 +190,11 @@ cl_crosshaircolor_b "0.000000"
cl_crosshaircolor_g "255.000000"
cl_crosshaircolor_r "0.000000"
cl_crosshairdot "0"
cl_crosshairgap "-1.967399"
cl_crosshairgap "-1.500845"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "0.485989"
cl_crosshairsize "1.030302"
cl_crosshairstyle "4"
cl_crosshairthickness "1.476333"
cl_crosshairthickness "0.501428"
cl_crosshairusealpha "1"
cl_debugrumble "0"
cl_detail_avoid_force "0.4"
@ -289,7 +289,7 @@ cl_showloadout "1"
cl_showpluginmessages2 "0"
cl_sniper_delay_unscope "0"
cl_spec_follow_grenade_key "0"
cl_spec_mode "5"
cl_spec_mode "4"
cl_tablet_mapmode "2"
cl_teamid_overhead_mode "2"
cl_teammate_colors_show "1"
@ -477,7 +477,7 @@ snd_menumusic_volume "0.031492"
snd_mix_async "1"
snd_mix_async_onetime_reset "1"
snd_mixahead "0.025"
snd_music_selection "2"
snd_music_selection "1"
snd_music_volume_onetime_reset_2 "1"
snd_musicvolume_multiplier_inoverlay "0.100000"
snd_mute_losefocus "0"
@ -508,7 +508,7 @@ sv_logsdir "logs"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_pvsskipanimation "1"
sv_skyname "sky_cs15_daylight03_hdr"
sv_skyname "nukeblank"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
@ -552,7 +552,7 @@ ui_playsettings_flags_official_scrimcomp2v2 "0"
ui_playsettings_flags_official_skirmish "0"
ui_playsettings_flags_official_survival "0"
ui_playsettings_maps_listen_casual "mg_de_mirage"
ui_playsettings_maps_listen_competitive "mg_de_iris"
ui_playsettings_maps_listen_competitive "mg_de_nuke"
ui_playsettings_maps_listen_deathmatch "random_classic"
ui_playsettings_maps_listen_scrimcomp2v2 "mg_de_inferno"
ui_playsettings_maps_listen_skirmish "mg_skirmish_flyingscoutsman"
@ -570,8 +570,8 @@ ui_setting_advertiseforhire_auto_last "/competitive"
ui_show_subscription_alert "1"
ui_show_unlock_competitive_alert ""
ui_steam_overlay_notification_position "topleft"
ui_vanitysetting_loadoutslot_ct "smg4"
ui_vanitysetting_loadoutslot_t "heavy2"
ui_vanitysetting_loadoutslot_ct "melee"
ui_vanitysetting_loadoutslot_t "melee"
ui_vanitysetting_team "t"
vgui_message_dialog_modal "1"
viewmodel_fov "60"

View file

@ -5,47 +5,6 @@ numlockx on
setxkbmap de
setxkbmap -option caps:none
if [ -x "$(command -v gpgconf)" ]
then
ssh_sock=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK="$ssh_sock"
gpgconf --launch gpg-agent
gpg2 --card-status > /dev/null
fi
network_wait_pid=1
audio_wait_pid=1
wait_for_service()
{
until systemctl is-active --quiet "$1"
do
sleep 0.5
done
}
wait_for_user_service()
{
until systemctl --user is-active --quiet "$1"
do
sleep 0.5
done
}
_autostart_audio()
{
wait_for_user_service "pipewire.service"
wait_for_user_service "wireplumber.service"
sleep 5
pw-link 'default-sink:monitor_FL' 'alsa_output.usb-BEHRINGER_UMC202HD_192k-00.analog-stereo:playback_FL'
pw-link 'default-sink:monitor_FR' 'alsa_output.usb-BEHRINGER_UMC202HD_192k-00.analog-stereo:playback_FR'
pw-link 'default-sink:monitor_FL' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FL'
pw-link 'default-sink:monitor_FR' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FR'
}
_autostart_workspace_voip()
{
@ -79,15 +38,11 @@ _autostart_apps()
#actkbd --grab --config ~/.config/actkbd/actkbd.conf --device /dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd &
wait $network_wait_pid
syncthing -no-browser &
/usr/lib/kdeconnectd &
#transmission-gtk --minimized &
qbittorrent &
wait $audio_wait_pid
#steam-runtime -silent -tcp &
flatpak run com.valvesoftware.Steam -silent &
qutebrowser &
@ -102,7 +57,7 @@ _autostart()
{
### wait for audio
#start_jack
_autostart_audio
start_audio pipewire
### wait for internet
wait_for_service "network-online.target"

View file

@ -1,9 +1,12 @@
. "$HOME/.config/environment"
. "$HOME/.config/aliasrc"
if [ -x "$(command -v gpgconf)" ]; then
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
if [ -x "$(command -v gpgconf)" ]
then
ssh_sock=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK="$ssh_sock"
gpgconf --launch gpg-agent
gpg2 --card-status > /dev/null
fi
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then