Compare commits

...

3 commits

Author SHA1 Message Date
f79e4ac0ff
Add bspwm modes 2022-01-30 21:29:23 +01:00
9eca41e227
Update some configs 2022-01-30 21:28:50 +01:00
4e93089a0b
Update csgo config 2022-01-21 16:00:05 +01:00
9 changed files with 81 additions and 103 deletions

View file

@ -10,5 +10,7 @@ font:
family: JetBrains Mono NF family: JetBrains Mono NF
size: 13.0 size: 13.0
window:
opacity: 0.9
draw_bold_text_with_bright_colors: true draw_bold_text_with_bright_colors: true
background_opacity: 0.9

View file

@ -12,7 +12,9 @@ alias aliases.local='$EDITOR ~/.config/aliasrc.local && . ~/.config/aliasrc'
alias artisan='./artisan' alias artisan='./artisan'
alias bfg='java -jar ~/tools/bfg-1.13.0.jar' alias bfg='java -jar ~/tools/bfg-1.13.0.jar'
alias bspwm-present='pkill xcompmgr; bspc monitor "$MONITOR_PRIMARY" -d web terminal 3 4 5 6 7 8 9 presenter1; bspc monitor "$MONITOR_SECONDARY" -d presenter2' alias bspwm-default='echo "default" > /tmp/bspwm_mode; bspc wm -r'
alias bspwm-present='echo "presenter" > /tmp/bspwm_mode; bspc wm -r'
alias bspwm-single='echo "single" > /tmp/bspwm_mode; bspc wm -r'
alias clip='xclip -selection clipboard' alias clip='xclip -selection clipboard'
alias cp='cp -iv' alias cp='cp -iv'

View file

@ -2,18 +2,39 @@
. "$HOME/.config/environment" . "$HOME/.config/environment"
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x xcompmgr > /dev/null || xcompmgr -cnfFn -D3 &
bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true
bspc config normal_border_color "#44475a" bspc config normal_border_color "#44475a"
bspc config active_border_color "#bd93f9" bspc config active_border_color "#bd93f9"
bspc config focused_border_color "#ff79c6" bspc config focused_border_color "#ff79c6"
bspc config presel_feedback_color "#6272a4" bspc config presel_feedback_color "#6272a4"
host_name=$(cat /proc/sys/kernel/hostname) host_name=$(cat /proc/sys/kernel/hostname)
mode=$(cat /tmp/bspwm_mode)
if [ "$host_name" = "portalo" ]; then if [ "$host_name" = "portalo" ]; then
if [ "$mode" = "presenter" ]; then
xrandr --output "$MONITOR_PRIMARY" --mode 2560x1440 --refresh 144 xrandr --output "$MONITOR_PRIMARY" --mode 2560x1440 --refresh 144
xrandr --output "$MONITOR_SECONDARY" --left-of "$MONITOR_PRIMARY" xrandr --output "$MONITOR_SECONDARY" --auto --left-of "$MONITOR_PRIMARY"
pkill xcompmgr;
bspc monitor "$MONITOR_PRIMARY" -d web terminal 3 4 5 6 focus voip messenger presenter1
bspc monitor "$MONITOR_SECONDARY" -d presenter2
elif [ "$mode" = "single" ]; then
xrandr --output "$MONITOR_SECONDARY" --off
bspc monitor "$MONITOR_PRIMARY" -d web terminal 3 4 5 6 focus side-view voip messenger
else
xrandr --output "$MONITOR_PRIMARY" --mode 2560x1440 --refresh 144
xrandr --output "$MONITOR_SECONDARY" --auto --left-of "$MONITOR_PRIMARY"
bspc monitor "$MONITOR_PRIMARY" -d web terminal 3 4 5 6 focus bspc monitor "$MONITOR_PRIMARY" -d web terminal 3 4 5 6 focus
bspc monitor "$MONITOR_SECONDARY" -d side-view voip messenger bspc monitor "$MONITOR_SECONDARY" -d side-view voip messenger
fi
bspc wm -O "$MONITOR_PRIMARY" "$MONITOR_SECONDARY" bspc wm -O "$MONITOR_PRIMARY" "$MONITOR_SECONDARY"
sleep 1 sleep 1
@ -85,11 +106,14 @@ bspc rule -a 'Signal' desktop='messenger'
bspc rule -a 'Thunderbird:Mail' desktop='messenger' locked='true' bspc rule -a 'Thunderbird:Mail' desktop='messenger' locked='true'
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x xcompmgr > /dev/null || xcompmgr -cnfFn -D3 &
"$HOME/.config/polybar/launch.sh" & "$HOME/.config/polybar/launch.sh" &
"$HOME/.config/bspwm/swallow.py" & "$HOME/.config/bspwm/swallow.py" &
"$HOME/.config/bspwm/focus-voip.py" & "$HOME/.config/bspwm/focus-voip.py" &
feh --bg-fill "$XDG_PICTURES_DIR/wallpaper/active_wallpaper"
killall conky
conky --daemonize --config="$HOME/.config/conky/clock.conf"
conky --daemonize --config="$HOME/.config/conky/system.conf"
conky --daemonize --config="$HOME/.config/conky/archlinux-updates.conf"

View file

@ -17,7 +17,9 @@ def init(c):
c.tabs.new_position.related = 'last' c.tabs.new_position.related = 'last'
c.tabs.pinned.frozen = False c.tabs.pinned.frozen = False
c.url.searchengines = {'DEFAULT': 'bookmarks.serguzim/?q={}'} c.url.searchengines = {
'DEFAULT': 'https://duckduckgo.com/?q={}',
}
dracula.draw.blood(c, { dracula.draw.blood(c, {
'spacing': { 'spacing': {

View file

@ -11,7 +11,7 @@ def init(c):
c.bind(',g', 'open {url:scheme}://github1s.com{url:path}{url:query}') c.bind(',g', 'open {url:scheme}://github1s.com{url:path}{url:query}')
c.bind(',rr', 'open {url:scheme}://removeddit.com{url:path}{url:query}') c.bind(',rr', 'open {url:scheme}://removeddit.com{url:path}{url:query}')
c.bind(',rt', 'open {url:scheme}://reddit.tube{url:path}{url:query}') c.bind(',rt', 'open {url:scheme}://reddit.tube{url:path}{url:query}')
c.bind(',s', 'spawn steam steam://openurl/{url}') c.bind(',s', 'spawn xdg-open steam://openurl/{url}')
gpg_key = '723B78C0BF8D8C721D2C4EEF41E544A54E2533B2' gpg_key = '723B78C0BF8D8C721D2C4EEF41E544A54E2533B2'

View file

@ -16,10 +16,13 @@ bind "d" "+moveright"
bind "e" "+use" bind "e" "+use"
bind "f" "+lookatweapon" bind "f" "+lookatweapon"
bind "g" "drop" bind "g" "drop"
bind "i" "show_loadout_toggle" bind "i" "playerradio deathcry fix"
bind "k" "playerradio deathcry Moan"
bind "l" "toggleconsole" bind "l" "toggleconsole"
bind "m" "teammenu" bind "m" "teammenu"
bind "n" "+cl_show_team_equipment" bind "n" "+cl_show_team_equipment"
bind "o" "playerradio deathcry please"
bind "p" "playerradio deathcry Valve"
bind "q" "lastinv" bind "q" "lastinv"
bind "r" "+reload" bind "r" "+reload"
bind "s" "+back" bind "s" "+back"
@ -28,6 +31,8 @@ bind "u" "messagemode2"
bind "w" "+forward" bind "w" "+forward"
bind "x" "slot12" bind "x" "slot12"
bind "z" "radio" bind "z" "radio"
bind "KP_MINUS" "+left"
bind "KP_PLUS" "+right"
bind "," "buyammo1" bind "," "buyammo1"
bind "." "buyammo2" bind "." "buyammo2"
bind "ENTER" "messagemode" bind "ENTER" "messagemode"
@ -35,6 +40,7 @@ bind "SPACE" "+jump"
bind "TAB" "+showscores" bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect" bind "ESCAPE" "cancelselect"
bind "DEL" "mute" bind "DEL" "mute"
bind "PGDN" "+left"
bind "PAUSE" "pause" bind "PAUSE" "pause"
bind "SHIFT" "+speed" bind "SHIFT" "+speed"
bind "ALT" "+quickinv" bind "ALT" "+quickinv"
@ -42,8 +48,8 @@ bind "CTRL" "+duck"
bind "F1" "+radialradio" bind "F1" "+radialradio"
bind "F2" "+radialradio2" bind "F2" "+radialradio2"
bind "F3" "+radialradio3" bind "F3" "+radialradio3"
bind "F4" "rebuy" bind "F4" "autobuy"
bind "F5" "jpeg" bind "F5" "rebuy"
bind "F6" "save quick" bind "F6" "save quick"
bind "F7" "load quick" bind "F7" "load quick"
bind "F10" "quit prompt" bind "F10" "quit prompt"
@ -62,7 +68,6 @@ bind "JOY6" "+lookspin"
bind "JOY7" "togglescores" bind "JOY7" "togglescores"
bind "JOY8" "gameui_activate" bind "JOY8" "gameui_activate"
bind "JOY10" "+attack2" bind "JOY10" "+attack2"
bind "POV_DOWN" "drop"
bind "Y AXIS NEG" "xmove" bind "Y AXIS NEG" "xmove"
bind "Z AXIS POS" "+duck" bind "Z AXIS POS" "+duck"
bind "Z AXIS NEG" "+attack" bind "Z AXIS NEG" "+attack"
@ -73,11 +78,11 @@ ai_report_task_timings_on_limit "0"
ai_think_limit_label "0" ai_think_limit_label "0"
aim_flickstick_circular_deadzone_max "0.94" aim_flickstick_circular_deadzone_max "0.94"
aim_flickstick_circular_deadzone_min "0.74" aim_flickstick_circular_deadzone_min "0.74"
aim_flickstick_crank_friction "1.5"
aim_flickstick_crank_sensitivity "1.0" aim_flickstick_crank_sensitivity "1.0"
aim_flickstick_crank_tightness "40.0" aim_flickstick_crank_tightness "40.0"
aim_flickstick_flick_duration "0.15" aim_flickstick_enable "0"
aim_flickstick_flick_snap_angle "45" aim_flickstick_flick_snap_mode "2"
aim_flickstick_flick_tightness "0.6"
aim_gyro_circular_deadzone_min "0.0" aim_gyro_circular_deadzone_min "0.0"
aim_gyro_invert_pitch "1" aim_gyro_invert_pitch "1"
aim_gyro_invert_yaw "0" aim_gyro_invert_yaw "0"
@ -135,8 +140,8 @@ c_thirdpersonshoulderaimdist "120.0"
c_thirdpersonshoulderdist "40.0" c_thirdpersonshoulderdist "40.0"
c_thirdpersonshoulderheight "5.0" c_thirdpersonshoulderheight "5.0"
c_thirdpersonshoulderoffset "20.0" c_thirdpersonshoulderoffset "20.0"
cachedvalue_count_partybrowser "1641591565" cachedvalue_count_partybrowser "1643227662"
cachedvalue_count_teammates "1641766156" cachedvalue_count_teammates "1643572488"
cam_collision "1" cam_collision "1"
cam_idealdelta "4.0" cam_idealdelta "4.0"
cam_idealdist "150" cam_idealdist "150"
@ -166,7 +171,7 @@ cl_chatfilter_version "1"
cl_chatfilters "63" cl_chatfilters "63"
cl_clanid "39516960" cl_clanid "39516960"
cl_cmdrate "64" cl_cmdrate "64"
cl_color "0" cl_color "2"
cl_compass_enabled "1" cl_compass_enabled "1"
cl_crosshair_drawoutline "1" cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.900000" cl_crosshair_dynamic_maxdist_splitratio "0.900000"
@ -198,7 +203,7 @@ cl_detail_max_sway "5"
cl_disable_round_end_report "0" cl_disable_round_end_report "0"
cl_disablefreezecam "0" cl_disablefreezecam "0"
cl_disablehtmlmotd "0" cl_disablehtmlmotd "0"
cl_dm_buyrandomweapons "1" cl_dm_buyrandomweapons "0"
cl_downloadfilter "all" cl_downloadfilter "all"
cl_dz_playagain_auto_spectate "0" cl_dz_playagain_auto_spectate "0"
cl_embedded_stream_audio_volume "60" cl_embedded_stream_audio_volume "60"
@ -276,11 +281,11 @@ cl_scoreboard_survivors_always_on "0"
cl_show_clan_in_death_notice "0" cl_show_clan_in_death_notice "0"
cl_show_observer_crosshair "2" cl_show_observer_crosshair "2"
cl_showhelp "1" cl_showhelp "1"
cl_showloadout "1" cl_showloadout "0"
cl_showpluginmessages2 "0" cl_showpluginmessages2 "0"
cl_sniper_delay_unscope "0" cl_sniper_delay_unscope "0"
cl_spec_follow_grenade_key "0" cl_spec_follow_grenade_key "0"
cl_spec_mode "4" cl_spec_mode "5"
cl_tablet_mapmode "2" cl_tablet_mapmode "2"
cl_teamid_overhead_mode "2" cl_teamid_overhead_mode "2"
cl_teammate_colors_show "1" cl_teammate_colors_show "1"
@ -304,7 +309,7 @@ engine_no_focus_sleep "50"
force_audio_english "0" force_audio_english "0"
func_break_max_pieces "15" func_break_max_pieces "15"
g15_update_msec "250" g15_update_msec "250"
gameinstructor_enable "1" gameinstructor_enable "0"
hud_scaling "0.850000" hud_scaling "0.850000"
hud_showtargetid "0" hud_showtargetid "0"
hud_takesshots "0" hud_takesshots "0"
@ -419,12 +424,12 @@ option_speed_method "0"
password "CB1FED3C80B40C63D23DEEC81651D4029AACBFE621D3565F509895038A9BB2FB" password "CB1FED3C80B40C63D23DEEC81651D4029AACBFE621D3565F509895038A9BB2FB"
play_distance "1" play_distance "1"
player_botdifflast_s "2" player_botdifflast_s "2"
player_competitive_maplist_2v2_10_1_8B1DA40F "mg_de_vertigo,mg_de_inferno,mg_de_overpass" player_competitive_maplist_2v2_10_1_8B1DA40F "mg_de_extraction"
player_competitive_maplist_8_10_1_62D24D31 "mg_lobby_mapveto" player_competitive_maplist_8_10_1_62D24D31 "mg_de_mirage,mg_de_inferno,mg_de_nuke,mg_de_dust2,mg_de_train"
player_nevershow_communityservermessage "0" player_nevershow_communityservermessage "0"
player_survival_list_10_1_13 "mg_dz_blacksite,mg_dz_sirocco,mg_dz_county" player_survival_list_10_1_13 "mg_dz_blacksite,mg_dz_sirocco,mg_dz_county"
player_teamplayedlast "2" player_teamplayedlast "3"
player_wargames_list2_10_1_E04 "mg_skirmish_flyingscoutsman,mg_skirmish_armsrace,mg_skirmish_demolition,mg_skirmish_retakes" player_wargames_list2_10_1_E04 "mg_skirmish_armsrace"
r_drawmodelstatsoverlaymax "1.5" r_drawmodelstatsoverlaymax "1.5"
r_drawmodelstatsoverlaymin "0.1" r_drawmodelstatsoverlaymin "0.1"
r_drawtracers_firstperson "1" r_drawtracers_firstperson "1"
@ -438,7 +443,6 @@ r_player_visibility_mode "1"
rate "196608" rate "196608"
safezonex "1.0" safezonex "1.0"
safezoney "1.0" safezoney "1.0"
sc_joystick_map "1"
scene_showfaceto "0" scene_showfaceto "0"
scene_showlook "0" scene_showlook "0"
scene_showmoveto "0" scene_showmoveto "0"
@ -457,12 +461,12 @@ snd_dzmusic_volume "0.150988"
snd_hrtf_distance_behind "100" snd_hrtf_distance_behind "100"
snd_hrtf_voice_delay "0.1" snd_hrtf_voice_delay "0.1"
snd_hwcompat "0" snd_hwcompat "0"
snd_mapobjective_volume "0.059515" snd_mapobjective_volume "0.029189"
snd_menumusic_volume "0.031492" snd_menumusic_volume "0.031492"
snd_mix_async "1" snd_mix_async "1"
snd_mix_async_onetime_reset "1" snd_mix_async_onetime_reset "1"
snd_mixahead "0.025" snd_mixahead "0.025"
snd_music_selection "2" snd_music_selection "1"
snd_music_volume_onetime_reset_2 "1" snd_music_volume_onetime_reset_2 "1"
snd_musicvolume_multiplier_inoverlay "0.100000" snd_musicvolume_multiplier_inoverlay "0.100000"
snd_mute_losefocus "0" snd_mute_losefocus "0"
@ -472,12 +476,15 @@ snd_pitchquality "1"
snd_roundend_volume "0.017697" snd_roundend_volume "0.017697"
snd_roundstart_volume "0.015688" snd_roundstart_volume "0.015688"
snd_surround_speakers "-1" snd_surround_speakers "-1"
snd_tensecondwarning_volume "0.147037" snd_tensecondwarning_volume "0.088718"
sound_device_override "" sound_device_override ""
spec_replay_autostart "1" spec_replay_autostart "1"
spec_show_xray "0" spec_show_xray "0"
spec_usenumberkeys_nobinds "1" spec_usenumberkeys_nobinds "1"
ss_splitmode "0" ss_splitmode "0"
steaminput_default_glyphstyle "1"
steaminput_default_neutral "1"
steaminput_default_solid "1"
store_version "1" store_version "1"
suitvolume "0.25" suitvolume "0.25"
sv_forcepreload "0" sv_forcepreload "0"
@ -490,7 +497,7 @@ sv_logsdir "logs"
sv_noclipaccelerate "5" sv_noclipaccelerate "5"
sv_noclipspeed "5" sv_noclipspeed "5"
sv_pvsskipanimation "1" sv_pvsskipanimation "1"
sv_skyname "newcache" sv_skyname "nukeblank"
sv_specaccelerate "5" sv_specaccelerate "5"
sv_specnoclip "1" sv_specnoclip "1"
sv_specspeed "3" sv_specspeed "3"
@ -516,8 +523,8 @@ ui_deepstats_toplevel_mode "0"
ui_inventorysettings_recently_acknowledged "" ui_inventorysettings_recently_acknowledged ""
ui_mainmenu_bkgnd_movie_53A07E69 "county" ui_mainmenu_bkgnd_movie_53A07E69 "county"
ui_nearbylobbies_filter3 "competitive" ui_nearbylobbies_filter3 "competitive"
ui_news_last_read_link "https://blog.counter-strike.net/index.php/2021/12/36687/" ui_news_last_read_link "https://blog.counter-strike.net/index.php/2022/01/36745/"
ui_playsettings_custom_preset "mg_de_mirage,mg_de_inferno,mg_de_overpass,mg_de_train,mg_de_cache" ui_playsettings_custom_preset ""
ui_playsettings_directchallengekey "" ui_playsettings_directchallengekey ""
ui_playsettings_flags_listen_casual "0" ui_playsettings_flags_listen_casual "0"
ui_playsettings_flags_listen_competitive "48" ui_playsettings_flags_listen_competitive "48"
@ -538,11 +545,11 @@ ui_playsettings_maps_listen_competitive "mg_de_mirage"
ui_playsettings_maps_listen_deathmatch "random_classic" ui_playsettings_maps_listen_deathmatch "random_classic"
ui_playsettings_maps_listen_scrimcomp2v2 "mg_de_inferno" ui_playsettings_maps_listen_scrimcomp2v2 "mg_de_inferno"
ui_playsettings_maps_listen_skirmish "mg_skirmish_flyingscoutsman" ui_playsettings_maps_listen_skirmish "mg_skirmish_flyingscoutsman"
ui_playsettings_maps_official_casual "mg_casualsigma" ui_playsettings_maps_official_casual "mg_casualdelta"
ui_playsettings_maps_official_deathmatch "mg_casualsigma" ui_playsettings_maps_official_deathmatch "mg_casualdelta"
ui_playsettings_maps_workshop "@workshop/308490450/xhair_v3" ui_playsettings_maps_workshop "@workshop/308490450/xhair_v3"
ui_playsettings_mode_listen "competitive" ui_playsettings_mode_listen "casual"
ui_playsettings_mode_official_v20 "competitive" ui_playsettings_mode_official_v20 "skirmish"
ui_playsettings_prime "1" ui_playsettings_prime "1"
ui_playsettings_survival_solo "0" ui_playsettings_survival_solo "0"
ui_playsettings_warmup_map_name "de_mirage" ui_playsettings_warmup_map_name "de_mirage"

View file

@ -1,27 +0,0 @@
"config"
{
"setting.csm_quality_level" "0"
"setting.mat_software_aa_strength" "1"
"VendorID" "4098"
"DeviceID" "26591"
"setting.fullscreen" "1"
"setting.nowindowborder" "1"
"setting.aspectratiomode" "1"
"setting.mat_vsync" "0"
"setting.mat_triplebuffered" "0"
"setting.mat_monitorgamma" "2.200000"
"setting.mat_queue_mode" "-1"
"setting.mat_motion_blur_enabled" "0"
"setting.gpu_mem_level" "0"
"setting.gpu_level" "0"
"setting.mat_antialias" "0"
"setting.mat_aaquality" "0"
"setting.mat_forceaniso" "0"
"setting.cpu_level" "0"
"setting.videoconfig_version" "1"
"setting.defaultres" "2560"
"setting.defaultresheight" "1440"
"setting.r_player_visibility_mode" "1"
"setauto.mat_enable_uber_shaders" "1"
"setting.mat_texturestreaming" "0"
}

View file

@ -1,26 +0,0 @@
"config"
{
"setting.csm_quality_level" "3"
"setting.mat_software_aa_strength" "1"
"VendorID" "4098"
"DeviceID" "26591"
"setting.fullscreen" "0"
"setting.nowindowborder" "1"
"setting.aspectratiomode" "1"
"setting.mat_vsync" "0"
"setting.mat_triplebuffered" "0"
"setting.mat_monitorgamma" "2.200000"
"setting.mat_queue_mode" "-1"
"setting.mat_motion_blur_enabled" "0"
"setting.gpu_mem_level" "2"
"setting.gpu_level" "3"
"setting.mat_antialias" "0"
"setting.mat_aaquality" "0"
"setting.mat_forceaniso" "1"
"setting.cpu_level" "2"
"setting.videoconfig_version" "1"
"setting.defaultres" "2560"
"setting.defaultresheight" "1440"
"setting.r_player_visibility_mode" "1"
"setting.mat_enable_uber_shaders" "1"
}

View file

@ -54,7 +54,6 @@ _autostart_apps()
conky --daemonize --config="$HOME/.config/conky/clock.conf" conky --daemonize --config="$HOME/.config/conky/clock.conf"
conky --daemonize --config="$HOME/.config/conky/system.conf" conky --daemonize --config="$HOME/.config/conky/system.conf"
conky --daemonize --config="$HOME/.config/conky/archlinux-updates.conf" conky --daemonize --config="$HOME/.config/conky/archlinux-updates.conf"
feh --bg-fill "$XDG_PICTURES_DIR/wallpaper/active_wallpaper"
#actkbd --grab --config ~/.config/actkbd/actkbd.conf --device /dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd & #actkbd --grab --config ~/.config/actkbd/actkbd.conf --device /dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd &
@ -72,6 +71,8 @@ _autostart_apps()
qutebrowser & qutebrowser &
mopidy & mopidy &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
} }
_autostart() _autostart()
@ -90,13 +91,6 @@ _autostart()
_autostart_workspace_messenger & _autostart_workspace_messenger &
} }
#host_name=$(cat /proc/sys/kernel/hostname)
#if [[ $host_name == "portalo" ]]; then
# _autostart_portalo &
#elif [[ $host_name == *"laptop"* ]]; then
# _autostart_laptop &
#fi
_autostart & _autostart &
# vim: ft=sh # vim: ft=sh