From 5f677aa383bebc3a74cca9c016ec419b1a310725 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 20 Jul 2022 16:38:43 +0200 Subject: [PATCH] Copy a bunch of settings from the old i3 config --- arch-config/.config/sway/config | 123 ++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) diff --git a/arch-config/.config/sway/config b/arch-config/.config/sway/config index 292b29d3..a771efa6 100644 --- a/arch-config/.config/sway/config +++ b/arch-config/.config/sway/config @@ -240,6 +240,129 @@ mode "resize" { } bindsym $mod+r mode "resize" +############################################################ +##### Stuff from old config ##### +############################################################ + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 9 + + +############################## +# Applications at boot # +############################## + +#Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +#nextcloud +exec --no-startup-id nextcloud + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +#Corectrl +exec --no-startup-id corectrl + +#Transmission +#exec --no-startup-id transmission-gtk -m + +#Polybar +exec_always --no-startup-id ~/.config/polybar/launch.sh & + +#startup functions +#exec_always --no-startup-id ~/scritps/startup.sh + +# Protonmail Bridge +exec --no-startup-id protonmail-bridge -no-window + +# Start KopiaUI +exec --no-startup-id /opt/KopiaUI/kopia-ui + +# PulseEffects +#exec --no-startup-id pulseeffects --gapplication-service + +# activate flameshot +exec --no-startup-id flameshot & + +# notifications +exec --no-startup-id /usr/bin/dunst & + +############################## +# Keyboard shortcuts # +############################## + +#pavucontrol +bindsym control+mod1+u exec --no-startup-id pavucontrol;focus + +# joplin +bindsym control+mod1+n exec --no-startup-id joplin-desktop;focus + +#texteditors +bindsym ctrl+mod1+e exec --no-startup-id emacs;focus + +# file manager +bindsym ctrl+mod1+t exec --no-startup-id nemo;focus + +#libreoffice +bindsym ctrl+mod1+l exec --no-startup-id libreoffice;focus + +#browsers +bindsym control+mod1+f exec --no-startup-id firefox;focus + +# jellyamp +bindsym ctrl+mod1+m exec --no-startup-id "env DESKTOPINTEGRATION=false /usr/bin/Jellyamp";focus + +# jellyfin media player +bindsym ctrl+mod1+j exec --no-startup-id jellyfinmediaplayer;focus + +# mail +bindsym ctrl+mod1+b exec --no-startup-id thunderbird;focus + +############################## +# Screenshots # +############################## + +bindsym Print exec --no-startup-id flameshot gui +bindsym Control+Print exec --no-startup-id flameshot gui -d 2000 + + +############################## +# Audio & Media Control # +############################## + +bindsym XF86AudioRaiseVolume exec --no-startup-id bash $HOME/scripts/dunst-volume.sh up +bindsym XF86AudioLowerVolume exec --no-startup-id bash $HOME/scripts/dunst-volume.sh down +bindsym XF86AudioMute exec --no-startup-id bash $HOME/scripts/dunst-volume.sh mute +bindsym XF86AudioPlay exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py play-pause & +bindsym XF86AudioNext exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py next & +bindsym XF86AudioPrev exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py previous & +bindsym XF86AudioStop exec --no-startup-id playerctl stop + +############################## +# xbacklight # +############################## + +bindsym $mod+Shift+u exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh up # increase screen brightness +bindsym $mod+Shift+d exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh down # decrease screen brightness +bindsym XF86MonBrightnessUp exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh up # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh down # decrease screen brightness + +############################## +# Borders # +############################## + +default_border pixel 2 + +############################################################ +##### More from the sample config ##### +############################################################ + # # Status Bar: #