summaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config65
1 files changed, 27 insertions, 38 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 8011c8a..072cd8e 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -2,12 +2,12 @@
### Output configuration
output eDP-1 {
- background ~/.local/share/wallpaper.svg tile
+ background ~/pictures/wallpapers/hudson-wall-edit.jpg fill
resolution 1920x1080
}
output DP-3 {
- background ~/.local/share/wallpaper.svg tile
+ background ~/pictures/wallpapers/hudson-wall-edit.jpg fill
resolution 2560x1440
}
@@ -21,16 +21,16 @@ set $sigaudio pkill -75 i3blocks
#workspace_auto_back_and_forth yes
-set $ws1 "1:󰈹"
-set $ws2 "2:󰲢"
-set $ws3 "3:󰲤"
-set $ws4 "4:󰲦"
-set $ws5 "5:󰲨"
-set $ws6 "6:󰲪"
-set $ws7 "7:󰲬"
-set $ws8 "8:󰲮"
-set $ws9 "9:󰲰"
-set $ws10 "10:󰲞"
+set $ws1 "1"
+set $ws2 "2"
+set $ws3 "3"
+set $ws4 "4"
+set $ws5 "5"
+set $ws6 "6"
+set $ws7 "7"
+set $ws8 "8"
+set $ws9 "9"
+set $ws10 "10"
workspace $ws1 output primary
workspace $ws2 output primary
@@ -144,9 +144,8 @@ bindsym Mod1+F12 exec mixer vol 0 && $sigaudio
bindsym XF86AudioLowerVolume exec mixer vol -5 && $sigaudio
bindsym XF86AudioRaiseVolume exec mixer vol +5 && $sigaudio
bindsym XF86AudioMute exec mixer vol 0 && $sigaudio
-#bindsym --release Print exec import -window root ~/`date +"%Y-%m-%d-%H-%M-%S"`.png
-#bindsym --release shift+Print exec import -monitor ~/`date +"%Y-%m-%d-%H-%M-%S"`.png
-bindsym Mod1+Pause exec swaylock ; exec doas acpiconf -s3
+bindsym --release Print exec grim
+bindsym Mod1+Pause exec swaylock --image ~/pictures/wallpapers/hudson-wall-edit.jpg ; exec doas acpiconf -s3
## COLORS
@@ -158,42 +157,32 @@ client.unfocused #1C433F #3F938D #ffffff
## BARS
bar {
- modifier Mod1
- strip_workspace_numbers yes
- position bottom
- status_command i3blocks
-
- colors {
- background #3F938D
- statusline #ffffff
- separator #ffffff
- # class border background foreground
- focused_workspace #A2E5C6 #A2E5C6 #000000
- inactive_workspace #1C433F #3F938D #ffffff
- urgent_workspace #1C433F #3F938D #ffffff
- }
+ swaybar_command waybar
}
## MODES
-set $mode_record "󱊫 webcam 󱊬 record"
+set $mode_record "󱊫 record 󱊬 webcam 󱊭 full HD 󱊮 quad HD"
mode $mode_record {
- bindsym Mod1+Escape mode default
- bindsym Mod1+F1 exec killall pwcview || pwcview -s vga
- bindsym Mod1+F2 exec killall -INT wf-recorder || wf-recorder --audio=oss_input.dsp4 -f ~/recording-$(date +%Y-%m-%d-%T).mp4 ; mode default
+ bindsym Escape mode default
+ bindsym F1 exec killall -INT wf-recorder || wf-recorder --audio=oss_input.dsp4 -f ~/recording-$(date +%Y-%m-%d-%T).mp4 ; mode default
+ bindsym F2 exec killall pwcview || pwcview -s vga
+ bindsym F3 output DP-3 resolution 1920x1080
+ bindsym F4 output DP-3 resolution 2560x1440
}
set $mode_modes "󱊷 default 󱊫 recording"
bindsym Mod1+Escape mode $mode_modes
mode $mode_modes {
- bindsym Mod1+Escape mode default
- bindsym Mod1+F1 mode $mode_record
+ bindsym Escape mode default
+ bindsym F1 mode $mode_record
}
## ASSIGNMENTS
-assign [class="Firefox"] 2
-assign [class="Thunderbird"] 3
-for_window [class="pwcview"] floating enable
+assign [class="Firefox"] $ws1
+for_window [class="Thunderbird"] floating enable
+for_window [class="pwcview"] floating enable ; sticky enable
+for_window [title="wpgtk*"] floating enable
include /usr/local/etc/sway/config.d/*