summaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config28
1 files changed, 13 insertions, 15 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 77543ef..3a4b886 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -2,7 +2,7 @@ set $mod Mod1
set $mod2 Mod4
set $term alacritty
#set $background /mnt/storage/pictures/desktops/isla-dark.jpg
-set $background /mnt/storage/pictures/desktops/Beach\ -\ Renato\ Giordanelli.jpg
+set $background ~/pictures/desktops/Beach\ -\ Renato\ Giordanelli.jpg
set $screenshot grim ~/pictures/screenshots/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png
set $screenclip slurp | grim -g - ~/pictures/screenshots/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png
@@ -57,7 +57,7 @@ bindsym $mod2+v split v
# enter fullscreen mode for the focused container
bindsym $mod+Shift+f fullscreen toggle
-bindsym $mod+f floating toggle
+bindsym $mod2+f floating toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+Shift+s layout stacking
@@ -132,12 +132,12 @@ for_window [app_id="python3"] border none, floating enable
for_window [class="^Chromium$"] border none
for_window [app_id="darktable"] border none
-for_window [class="Darktable"] border none
for_window [app_id="org.qutebrowser.qutebrowser"] border none
for_window [app_id="qutebrowser"] border none
for_window [app_id="firefoxdeveloperedition"] border none
for_window [class="firefoxdeveloperedition"] border none
for_window [app_id="Vivaldi-snapshot"] border none
+for_window [class="Vivaldi-snapshot"] border none
for_window [class="^qutebrowser"] border none
for_window [class="Slack"] border none
#for_window [app_id="Alacritty"] floating enable, resize set width 53 ppt height 100 ppt
@@ -148,7 +148,6 @@ for_window [app_id="foot"] border none
assign [class="qutebrowser"] $ws2
assign [app_id="org.qutebrowser.qutebrowser"] $ws2
assign [class="Slack"] $ws6
-assign [class="Darktable"] $ws3
assign [app_id="darktable"] $ws3
#workspace switching
@@ -204,11 +203,7 @@ input "1:1:AT_Translated_Set_2_keyboard" {
repeat_delay 200
repeat_rate 30
}
-#exec xrdb ~/.Xresources
exec --no-startup-id gammastep
-#exec --no-startup-id vivaldi-snapshot --ozone-platform=wayland --enable-features=UseOzonePlatform,UseSkiaRenderer,Vulkan &
-#exec --no-startup-id urxvt &
-#exec --no-startup-id alacritty &
exec --no-startup-id nextcloud &
# old i3 X11 stuff
@@ -218,10 +213,13 @@ exec --no-startup-id nextcloud &
# clipboard manager
exec wl-paste -t text --watch clipman store --max-items=200 --histpath="~/.local/share/clipman-primary.json"
-bindsym $mod+h exec clipman pick --tool="wofi" --max-items=200 --histpath="~/.local/share/clipman-primary.json"
+bindsym $mod+z exec clipman pick --tool="wofi" --max-items=200 --histpath="~/.local/share/clipman-primary.json"
-# app launcher
-bindsym $mod+Space exec foot --app-id=launcher bash -c "compgen -c | sort -u | fzf --bind 'tab:up' | xargs -r swaymsg -t command exec"
+# homemade app launcher
+#bindsym $mod+Space exec foot --app-id=launcher bash -c "compgen -c | sort -u | fzf --bind 'tab:up' | xargs -r swaymsg -t command exec"
+#
+#trying bemenu:
+bindsym $mod+Space exec bemenu-run
# pass chooser
bindsym $mod+p exec foot --app-id=launcher bash -c 'pass clip --fzf | xargs -r swaymsg -t command exec'
@@ -232,17 +230,17 @@ for_window [app_id="^launcher$"] floating enable, border none, resize set width
bindsym $mod+s exec foot --app-id=smsearch bash -c 'fzsnip | xargs -r swaymsg -t command exec'
#clipboard manager
+bindsym $mod+h exec foot --app-id=smsearch bash -c 'fzclip | xargs -r swaymsg -t command exec'
-
-bindsym $mod+z exec foot --app-id=smsearch bash -c 'fzclip | xargs -r swaymsg -t command exec'
-
-bindsym $mod+b exec foot --app-id=smsearch bash -c 'url=$(cat .config/qutebrowser/bookmarks/urls | fzf | cut -d \" \" -f 1) && qutebrowser "$url" | xargs -r swaymsg -t command exec'
+bindsym $mod+b exec foot --app-id=smsearch bash -c 'url=$(cat .config/qute-wired/bookmarks/urls | fzf | cut -d \" \" -f 1) && qutebrowser "$url" | xargs -r swaymsg -t command exec'
for_window [app_id="^smsearch$"] floating enable, border none, resize set width 80 ppt height 60 ppt, move position 0 px 0 px
bindsym $mod+n exec alacritty --class 'smsearch' --command bash -c 'notes'
+bindsym $mod2+n exec alacritty --class 'smsearch' --command bash -c 'stocks'
+
for_window [app_id="^smsearch$"] floating enable, border none, resize set width 80 ppt height 60 ppt, move position 0 px 0 px
exec_always ~/.config/waybar/waybar.sh