Compare commits

...

3 Commits

Author SHA1 Message Date
cbe5675693 added config for tv usage 2026-02-15 18:43:20 +05:00
adfb29b719 update local server address 2026-02-15 18:42:28 +05:00
38db689511 add threads to newsboat 2026-02-15 18:41:54 +05:00
3 changed files with 20 additions and 7 deletions

View File

@ -39,3 +39,5 @@ miniflux-url "https://miniflux.woopwoopserver.com/"
miniflux-login "woopwoop"
miniflux-passwordeval "pass show miniflux"
reload-threads 5

View File

@ -43,6 +43,7 @@ bar {
# you can get the names of your outputs by running: swaymsg -t get_outputs
output DP-2 position 0 0 mode 2560x1440@144Hz
output HDMI-A-1 position 2560 360 mode 1920x1080@60Hz
output HDMI-A-2 position 4480 360 mode 1920x1080@60Hz disable
# output * bg /home/nikita/Pictures/wallpapers/nord-street.png fill
@ -83,8 +84,12 @@ bindsym --to-code $mod+minus exec "swaymsg bar 1 mode toggle"
# open windows with id "in_scratchpad" in scratchpad
for_window [app_id="in_scratchpad"] move container to scratchpad, focus
# # open apps in specified workspaces
assign [class="steam"] workspace 15
# for_window [title="Steam Big Picture Mode" class="steam"] exec "/home/nikita/Scripts/sway/enable_tv_gaming_mode.sh"
# assign [class="steam" title="^(?!.*Steam Big Picture Mode).*"] workspace 15
# for_window [class="steam" title="^(?!.*Steam Big Picture Mode).*"] exec "/home/nikita/Scripts/sway/disable_tv_gaming_mode.sh"
assign [app_id="DBeaver"] workspace 22
assign [class="jetbrains-datagrip"] workspace 23
@ -100,6 +105,8 @@ bindsym --to-code $mod+SHIFT+BackSpace exec ~/Scripts/tofi/powermenu.sh
# vpn selector
bindsym --to-code $mod+SHIFT+v exec ~/Scripts/tofi/select_vpn.sh
bindsym --to-code $mod+SHIFT+g exec ~/Scripts/tofi/select_desktop_mode.sh
# start search in browser
bindsym --to-code $mod+slash exec ~/Scripts/general/bin/browser_search_web
@ -150,6 +157,8 @@ workspace 27 output HDMI-A-1
workspace 28 output HDMI-A-1
workspace 29 output HDMI-A-1
workspace 31 output HDMI-A-2
# move mouse to focused window/workspace
mouse_warping output
focus_wrapping workspace
@ -253,11 +262,13 @@ bindsym --to-code $mod+Shift+bracketleft exec playerctl -p mpd volume 0.05-
bindsym --to-code $mod+Shift+bracketright exec playerctl -p mpd volume 0.05+
bindsym --to-code $mod+Shift+y exec playerctl -p mpd shuffle Toggle
set $sink "alsa_output.pci-0000_29_00.0.analog-stereo"
# special keys to adjust volume via pulseaudio
bindsym --to-code --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
bindsym --to-code --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
bindsym --to-code --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
bindsym --to-code --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
bindsym --to-code --locked XF86AudioMute exec pactl set-sink-mute $sink toggle
bindsym --to-code --locked XF86AudioLowerVolume exec pactl set-sink-volume $sink -5%
bindsym --to-code --locked XF86AudioRaiseVolume exec pactl set-sink-volume $sink +5%
bindsym --to-code --locked XF86AudioMicMute exec pactl set-source-mute $sink toggle
bindsym --to-code --locked XF86AudioPlay exec playerctl play-pause
bindsym --to-code --locked XF86AudioPause exec playerctl play-pause
bindsym --to-code --locked XF86AudioNext exec playerctl next

2
.zshrc
View File

@ -22,7 +22,7 @@ bindkey '^j' down-line-or-history
alias v="nvim"
alias ta='tmux at || tmux'
alias ls="ls --color"
alias homeaudio="ncmpcpp -h 192.168.0.100"
alias homeaudio="ncmpcpp -h 192.168.1.100"
alias lg="lazygit"
alias acpoet='source $( poetry env list --full-path | grep Activated | cut -d" " -f1 )/bin/activate'
alias rutracker='RUTRACKER_USERNAME=$(pass show rutracker | grep -oP "username:\K.*") RUTRACKER_PASSWORD=$(pass show rutracker | head -n 1) rust_rutracker_cli'