aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--dunst/.config/dunst/dunstrc.d/00-colorscheme.conf2
-rw-r--r--sh/.config/profile.d/20-man.sh2
-rw-r--r--sway/.config/sway/config55
-rw-r--r--swayr/.config/sway/config.d/50-swayr.conf2
-rw-r--r--swayr/.config/swayr/config.toml84
5 files changed, 38 insertions, 107 deletions
diff --git a/dunst/.config/dunst/dunstrc.d/00-colorscheme.conf b/dunst/.config/dunst/dunstrc.d/00-colorscheme.conf
index ac59452..f964d88 100644
--- a/dunst/.config/dunst/dunstrc.d/00-colorscheme.conf
+++ b/dunst/.config/dunst/dunstrc.d/00-colorscheme.conf
@@ -6,9 +6,7 @@
[urgency_normal]
background = "#282828"
foreground = "#ebdbb2"
- timeout = 20
[urgency_critical]
background = "#282828"
foreground = "#ebdbb2"
- timeout = 0
diff --git a/sh/.config/profile.d/20-man.sh b/sh/.config/profile.d/20-man.sh
index 663c7d4..e40b84b 100644
--- a/sh/.config/profile.d/20-man.sh
+++ b/sh/.config/profile.d/20-man.sh
@@ -1,4 +1,4 @@
#!/bin/sh
-export MANPAGER="less -R --use-color -Dd+r -Du+b"
+export MANPAGER="less -R --use-color -Dd+g -Du+b"
export MANROFFOPT="-P -c"
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index 95770e3..1f69de8 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -33,10 +33,10 @@ client.urgent $base08 $base08 $base00 $base08 $base08
client.placeholder $base00 $base00 $base05 $base00 $base00
client.background $base07
-font pango:sans-serif 15
+font pango:sans-serif 12
focus_on_window_activation focus
default_border pixel
-hide_edge_borders smart
+hide_edge_borders --i3 smart
output * bg ~/.local/share/gruvbox/sway.png fill
@@ -49,6 +49,7 @@ for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
for_window [app_id="" title="^Streamlink Twitch GUI$"] floating enable
for_window [app_id="deno" title="^Peek preview$"] resize set width 980px
for_window [class="^steam$" title="^Sign in to Steam$"] move to scratchpad
+for_window [class="^discord$" title="^Discord$"] move to scratchpad
assign [app_id="mpv"] s
assign [class="^discord$" instance="^discord$"] d
@@ -73,19 +74,25 @@ floating_modifier $mod
bindsym $mod+q kill
bindsym $mod+Shift+c reload
bindsym $mod+Shift+Escape exec swaynag -t warning -m 'Exit sway?' -B 'Yes' 'swaymsg exit'
-bindsym $mod+ctrl+q exec loginctl lock-session
-bindsym Pause exec swaymsg "output * power toggle"
+bindsym $mod+Delete exec loginctl lock-session
bindsym $mod+Escape exec powermenu | $menu -l 6 | powermenu
+bindsym Pause exec swaymsg "output * power toggle"
+
bindsym $mod+return exec $TERMINAL
bindsym $mod+w exec $BROWSER
+
bindsym Print exec slurp | grim -g - - | wl-copy --type image/png
bindsym $mod+Print exec /usr/share/sway/scripts/grimshot --notify save area
+
bindsym $mod+space exec j4-dmenu-desktop --dmenu="$menu" --term=$TERMINAL
bindsym $mod+shift+space exec wmenu_path | $menu | xargs swaymsg exec --
+
bindsym $mod+v exec cliphist list | $menu -l 10 | cliphist decode | wl-copy
bindsym $mod+Shift+v exec cliphist list | $menu -l 10 | cliphist delete
+
bindsym $mod+p exec $passmenu -c
bindsym $mod+Shift+p exec $passmenu | wtype -
+
bindsym $mod+y exec yubikey-oath-dmenu --notify --clipboard --menu-cmd "$menu -l 10"
bindsym $mod+Shift+y exec yubikey-oath-dmenu --notify --type --menu-cmd "$menu -l 10"
@@ -109,6 +116,9 @@ bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
+bindsym Mod1+Tab exec sway-overfocus group-rw group-dw
+bindsym Mod1+Shift+Tab exec sway-overfocus group-lw group-uw
+
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
@@ -129,6 +139,9 @@ bindsym $mod+Ctrl+Down move workspace to output down
bindsym $mod+Ctrl+Up move workspace to output up
bindsym $mod+Ctrl+Right move workspace to output right
+bindsym $mod+Ctrl+6 workspace back_and_forth
+bindsym $mod+Tab workspace back_and_forth
+
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
@@ -139,18 +152,17 @@ bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
-bindsym $mod+Ctrl+6 workspace back_and_forth
-bindsym $mod+Shift+1 move container to workspace number 1; workspace number 1
-bindsym $mod+Shift+2 move container to workspace number 2; workspace number 2
-bindsym $mod+Shift+3 move container to workspace number 3; workspace number 3
-bindsym $mod+Shift+4 move container to workspace number 4; workspace number 4
-bindsym $mod+Shift+5 move container to workspace number 5; workspace number 5
-bindsym $mod+Shift+6 move container to workspace number 6; workspace number 6
-bindsym $mod+Shift+7 move container to workspace number 7; workspace number 7
-bindsym $mod+Shift+8 move container to workspace number 8; workspace number 8
-bindsym $mod+Shift+9 move container to workspace number 9; workspace number 9
-bindsym $mod+Shift+0 move container to workspace number 10; workspace number 10
+bindsym $mod+Shift+1 move container to workspace number 1
+bindsym $mod+Shift+2 move container to workspace number 2
+bindsym $mod+Shift+3 move container to workspace number 3
+bindsym $mod+Shift+4 move container to workspace number 4
+bindsym $mod+Shift+5 move container to workspace number 5
+bindsym $mod+Shift+6 move container to workspace number 6
+bindsym $mod+Shift+7 move container to workspace number 7
+bindsym $mod+Shift+8 move container to workspace number 8
+bindsym $mod+Shift+9 move container to workspace number 9
+bindsym $mod+Shift+0 move container to workspace number 10
bindsym $mod+Shift+d move container to workspace d
bindsym $mod+Shift+s move container to workspace s
@@ -158,12 +170,14 @@ bindsym $mod+Shift+s move container to workspace s
bindsym $mod+d workspace d
bindsym $mod+s workspace s
+bindsym $mod+minus move scratchpad
+bindsym $mod+plus scratchpad show
+
bindsym $mod+f fullscreen
bindsym $mod+Shift+f floating toggle
-bindsym $mod+Shift+backslash split toggle
-bindsym $mod+minus splith
+
bindsym $mod+backslash splitv
-bindsym $mod+r mode 'resize'
+bindsym $mod+e layout toggle split tabbed
mode 'resize' {
bindsym $left resize shrink width 10px
@@ -171,6 +185,11 @@ mode 'resize' {
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
+ bindsym Left resize shrink width 10px
+ bindsym Down resize grow height 10px
+ bindsym Up resize shrink height 10px
+ bindsym Right resize grow width 10px
+
bindsym Escape mode 'default'
}
diff --git a/swayr/.config/sway/config.d/50-swayr.conf b/swayr/.config/sway/config.d/50-swayr.conf
deleted file mode 100644
index 3abf3c1..0000000
--- a/swayr/.config/sway/config.d/50-swayr.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-bindsym $mod+Tab exec env RUST_BACKTRACE=1 \
- swayr switch-to-urgent-or-lru-window >> /tmp/swayr.log 2>&1
diff --git a/swayr/.config/swayr/config.toml b/swayr/.config/swayr/config.toml
deleted file mode 100644
index 6f4a00d..0000000
--- a/swayr/.config/swayr/config.toml
+++ /dev/null
@@ -1,84 +0,0 @@
-[menu]
-executable = 'wmenu'
-args = [
- '-i',
- '-f',
- 'monospace 12',
- '-nebdbb2',
- '-N282828',
- '-S282828',
- '-sfe8019',
- '-mebdbb2',
- '-M8ec07c',
-]
-
-[format]
-output_format = '{indent}<b>Output {name}</b> <span alpha="20000">({id})</span>'
-workspace_format = '{indent}<b>Workspace {name} [{layout}]</b> on output {output_name} <span alpha="20000">({id})</span>'
-container_format = '{indent}<b>Container [{layout}]</b> <i>{marks}</i> on workspace {workspace_name} <span alpha="20000">({id})</span>'
-# window_format = 'img:{app_icon}:text:{indent}<i>{app_name}</i> — {urgency_start}<b>“{title}”</b>{urgency_end} <i>{marks}</i> on workspace {workspace_name} / {output_name} <span alpha="20000">({id})</span>'
-window_format = "{indent}<i>{app_name}</i> — {urgency_start}<b>“{title}”</b>{urgency_end} <i>{marks}</i> on workspace {workspace_name} / {output_name} <span alpha=\"20000\">({id})</span>\u0000icon\u001f{app_icon}"
-indent = ' '
-urgency_start = '<span background="darkred" foreground="yellow">'
-urgency_end = '</span>'
-html_escape = true
-icon_dirs = [
- '/usr/share/icons/hicolor/scalable/apps',
- '/usr/share/icons/hicolor/64x64/apps',
- '/usr/share/icons/hicolor/48x48/apps',
- '/usr/share/icons/Adwaita/64x64/apps',
- '/usr/share/icons/Adwaita/48x48/apps',
- '/usr/share/pixmaps',
-]
-
-[layout]
-auto_tile = false
-auto_tile_min_window_width_per_output_width = [
- [
- 800,
- 400,
- ],
- [
- 1024,
- 500,
- ],
- [
- 1280,
- 600,
- ],
- [
- 1400,
- 680,
- ],
- [
- 1440,
- 700,
- ],
- [
- 1600,
- 780,
- ],
- [
- 1920,
- 920,
- ],
- [
- 2560,
- 1000,
- ],
- [
- 3440,
- 1000,
- ],
- [
- 4096,
- 1200,
- ],
-]
-
-[focus]
-lockin_delay = 750
-
-[misc]
-auto_nop_delay = 3000
-seq_inhibit = false