From 87ee1ba3d0700a06338c249cd38625c16d0ae28f Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 8 Sep 2021 09:27:25 -0500 Subject: [PATCH] scratchpad from bling awesome --- awesome/bling | 2 +- awesome/init.fnl | 6 +- awesome/keybindings.fnl | 28 +- awesome/rules.fnl | 4 +- awesome/theme.lua | 15 +- imv/config | 2 +- kanshi/config | 4 +- mpv/mpv.conf | 2 +- qutebrowser/autoconfig.yml | 2 +- qutebrowser/qsettings/QtProject.conf | 4 +- river/init | 2 +- rofi/config.rasi | 184 ++++++++++- rofi/launchers-git/blurry.rasi | 4 +- rofi/launchers-git/launcher.sh | 2 +- scripts/filesearch | 4 +- sway/config | 29 +- waybar/config | 4 +- waybar/style.css | 1 + wayfire/wayfire.ini | 102 +++---- wayfire/wayfire.ini.bak | 440 +++++++++++++++++++++++++++ 20 files changed, 724 insertions(+), 117 deletions(-) create mode 100644 wayfire/wayfire.ini.bak diff --git a/awesome/bling b/awesome/bling index 048cf41..0fb8534 160000 --- a/awesome/bling +++ b/awesome/bling @@ -1 +1 @@ -Subproject commit 048cf41e0aa5a391948d62e6168d6e54279cf627 +Subproject commit 0fb85341916b6de1c5cd6ddf3e8472292a93a303 diff --git a/awesome/init.fnl b/awesome/init.fnl index 7b26995..335262e 100644 --- a/awesome/init.fnl +++ b/awesome/init.fnl @@ -72,7 +72,7 @@ (if (= "syl\n" stdout) (global laptop true) (global laptop false)))) -(local laptop false) +(local laptop true) ;; Table of layouts to cover with awful.layout.inc, order matters. (set awful.layout.layouts [ @@ -644,7 +644,7 @@ (awful.placement.no_offscreen c)) ;; MPV wasn't centering right - ;; (when (= c.class "mpv") (awful.placement.centered c)) + (when (= c.class "mpv") (awful.placement.centered c)) (awful.client.focus.byidx 1) ;; Rounded windows done right @@ -694,3 +694,5 @@ (awful.spawn "rbw-agent") ;; (awful.spawn "jellyfin-mpv-shim") (awful.spawn "xset r rate 220 90") + +(awful.spawn "autorandr -c") diff --git a/awesome/keybindings.fnl b/awesome/keybindings.fnl index c2e1af5..387156e 100644 --- a/awesome/keybindings.fnl +++ b/awesome/keybindings.fnl @@ -16,17 +16,19 @@ ;; (local anim-y (awestore.tweened 1100 { :duration 200 :easing awestore.easing.cubic_in_out })) ;; (local anim-x (awestore.tweened 1920 { :duration 200 :easing awestore.easing.cubic_in_out })) -(local agenda-scratch (bling.module.scratchpad:new { - :command "emacsclient -e '(chris/org-agenda)'" - :rule [:name "org-agenda"] - :sticky true - :autoclose true - :floating true - :geometry {:height 900 :width 1200} - :reapply true - :dont_focus_before_close true - ;; :awestore {:x anim-x :y anim-y} - })) + + +(local agenda-scratch (bling.module.scratchpad { + :command "emacsclient -e '(chris/org-agenda)'" + :rule {:name "org-agenda"} + :sticky true + :autoclose true + :floating true + :geometry {:height 1300 :width 1500 :x 377 :y 73} + :reapply true + :dont_focus_before_close true + ;; :awestore {:x anim-x :y anim-y} + })) (fn get-volume [?callback] (let [cb (or ?callback (fn [] nil))] @@ -151,7 +153,7 @@ (awful.key [ modkey ] "x" (fn [] (awful.spawn "emacsclient -c -e '(org-capture)'" {:floating true :placement awful.placement.centered :class "org-agenda" :instance "org-agenda"})) {:description "launch scratchpad in new emacs frame" :group "apps" }) - (awful.key [ modkey ] "'" (fn [] (awful.spawn "agenda-scratch")) + (awful.key [ modkey ] "'" (fn [] (agenda-scratch:toggle)) {:description "launch org-agenda in new emacs frame" :group "apps" }) (awful.key [ modkey alt ] "m" (fn [] (awful.spawn "emacsclient -c -e '(org-roam-capture)'")) {:description "launch org-roam-capture in new emacs frame" :group "apps" }) @@ -167,7 +169,7 @@ {:description "select pass" :group "apps" }) (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer")) {:description "Open Writer" :group "apps" }) - (awful.key [modkey] "b" (fn [] (awful.spawn "nyxt")) + (awful.key [modkey] "b" (fn [] (awful.spawn "qutebrowser")) {:description "launch browser" :group "apps"}) ;; rofi (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh")) diff --git a/awesome/rules.fnl b/awesome/rules.fnl index 3e3b4be..66614a4 100644 --- a/awesome/rules.fnl +++ b/awesome/rules.fnl @@ -84,9 +84,9 @@ :properties { :floating true :raise true - :placement (+ awful.placement.no_offscreen awful.placement.centered) :height (dpi 600) :width (dpi 900) + :placement (+ awful.placement.no_offscreen awful.placement.centered) } } ;; Emacs @@ -191,7 +191,7 @@ :properties { :floating true :raise true - :placement (+ awful.placement.no_offscreen awful.placement.centered) + :placement awful.placement.centered } } { diff --git a/awesome/theme.lua b/awesome/theme.lua index 163503f..4af3162 100644 --- a/awesome/theme.lua +++ b/awesome/theme.lua @@ -117,15 +117,20 @@ theme.mstab_bar_ontop = false -- whether you want to allow the ba theme.mstab_dont_resize_slaves = false -- whether the tabbed stack windows should be smaller than the -- currently focused stack window (set it to true if you use -- transparent terminals. False if you use shadows on solid ones -theme.mstab_bar_padding = "default" -- how much padding there should be between clients and your tabbar -- by default it will adjust based on your useless gaps. -- If you want a custom value. Set it to the number of pixels (int) -theme.mstab_tabbar_height = dpi(200) -theme.mstab_border_radius = dpi(5) -- border radius of the tabbar +theme.mstab_tabbar_height = 400 +theme.tabbar_radius = 40 +theme.tabbar_bg_normal = theme.bg_normal +theme.tabbar_fg_normal = theme.fg_normal +theme.tabbar_bg_focus = theme.bg_focus +theme.tabbar_fg_focus = theme.fg_focus +theme.mstab_border_radius = 50 -- border radius of the tabbar -theme.mstab_tabbar_position = "top" -- position of the tabbar (mstab currently does not support left,right) -theme.mstab_tabbar_style = "default" -- style of the tabbar ("default", "boxes" or "modern") +theme.mstab_bar_padding = "default" -- how much padding there should be between clients and your tabbar +theme.mstab_tabbar_position = "bottom" -- position of the tabbar (mstab currently does not support left,right) +theme.mstab_tabbar_style = "modern" -- style of the tabbar ("default", "boxes" or "modern") -- defaults to the tabbar_style so only change if you want a -- different style for mstab and tabbed -- wibar diff --git a/imv/config b/imv/config index 1d61d8c..de3eb64 100644 --- a/imv/config +++ b/imv/config @@ -50,7 +50,7 @@ s = scaling next a = zoom actual r = reset -d = exec rm $imv_current_file +d = exec trash '$imv_current_file' # Gif playback = next_frame diff --git a/kanshi/config b/kanshi/config index d470105..4c825e5 100644 --- a/kanshi/config +++ b/kanshi/config @@ -1,9 +1,9 @@ profile laptop { - output eDP-1 mode 3000x2000 position 0,0 scale 2 + output eDP-1 mode 2256x1504 position 0,0 scale 1.5 } profile office { - output eDP-1 mode 3000x2000 position 0,0 scale 2 + output eDP-1 mode 2256x1504 position 0,0 scale 1.5 output DP-2 mode 1366x768 position 1500,0 scale 1 exec notify-send 'office monitors setup' } \ No newline at end of file diff --git a/mpv/mpv.conf b/mpv/mpv.conf index e5d474e..b66d8dc 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -3,7 +3,7 @@ osc=no vo=gpu af=scaletempo2 autofit=80% -geometry=50%:50% +geometry=70%:70% # input-ipc-server="/tmp/mpvsocket" hwdec=auto rtsp-transport=udp diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml index b4556f0..391ae7f 100644 --- a/qutebrowser/autoconfig.yml +++ b/qutebrowser/autoconfig.yml @@ -30,4 +30,4 @@ settings: tabs.show: global: always zoom.default: - global: 150% + global: 100% diff --git a/qutebrowser/qsettings/QtProject.conf b/qutebrowser/qsettings/QtProject.conf index 78a6ec6..dd0f317 100644 --- a/qutebrowser/qsettings/QtProject.conf +++ b/qutebrowser/qsettings/QtProject.conf @@ -1,6 +1,6 @@ [FileDialog] -history=file:///home/chris -lastVisited=file:///home/chris +history=file:///home/chris, file:///home/chris/nextcloud/tfc/Documents +lastVisited=file:///home/chris/nextcloud/tfc/Documents qtVersion=5.15.2 shortcuts=file:, file:///home/chris sidebarWidth=116 diff --git a/river/init b/river/init index bf5fbee..140e5c1 100755 --- a/river/init +++ b/river/init @@ -14,7 +14,7 @@ mod="Mod4" riverctl map normal $mod Return spawn alacritty riverctl map normal $mod E spawn "emacsclient -c -a 'emacs'" riverctl map normal $mod B spawn qutebrowser -riverctl map normal None Menu spawn "wofi --show drun" +riverctl map normal $mod+Mod1 space spawn "wofi --show drun" riverctl map normal $mod Menu spawn "wofi --show run" riverctl map normal $mod P spawn rofi-rbw diff --git a/rofi/config.rasi b/rofi/config.rasi index ba68931..c5b324d 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -9,5 +9,187 @@ configuration { sidebar-mode: true; run-command: "fish -c {cmd}"; run-list-command: "fish -c functions"; + display-drun: " "; + drun-display-format: "{name} [({generic})] - {exec}"; + threads: 0; + scroll-method: 0; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + columns: 2; + font: "VictorMono Nerd Font 14.0"; +} + +* { + backgrounkd: #12121222; + background-color: #00222b33; + background-entry: #000000; + foreground-selected: #ffffff; + urgent: #E91E63; + urgent-selected: #E91E63; + transparent: #00000000; + base00: #282a36; + base01: #34353e; + base02: #43454f; + base03: #78787e; + base04: #a5a5a9; + base05: #e2e4e5; + base06: #eff0eb; + base07: #f1f1f0; + base08: #ff5c57; + base09: #ff9f43; + base0A: #f3f99d; + base0B: #5af78e; + base0C: #9aedfe; + base0D: #57c7ff; + base0E: #ff6ac1; + base0F: #b2643c; + base00t: #282a36AA; + background-alt: @base02; +} + +window { + background-color: @base00t; + text-color: @base05; + transparency: "real"; + border-radius: 0; + border: 0px; + width: 60%; + location: center; + anchor: center; + x-offset: 0; + y-offset: 0; + margin: 0px; + padding: 0px; +} + +mainbox { + border-radius: 16; + background-color: @transparent; + text-color: @base05; + transparency: "real"; +} + +inputbar { + background-color: @transparent; + text-color: @base05; + expand: false; + border-radius: 36px; + margin: 0px 0px 0px 0px; + padding: 6px 6px 6px 6px; + position: north; +} + +prompt { + enabled: true; + padding: 0px 6px 0px 5px; + background-color: @transparent; + text-color: @base05; + border: 0px; +} + +entry { + background-color: @transparent; + placeholder-color: @base05; + text-color: @base05; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; + border: 0px; + padding: 0px 0px 0px 6px; +} + +case-indicator { + background-color: @transparent; + text-color: @base05; + spacing: 0; + border: 0px; +} + +sidebar { + border: 2px 0 0; +} + +mainbox { + background-color: @base00t; + text-color: @transparent; + children: [ inputbar, listview, message ]; + spacing: 5px; + padding: 10px 10px 10px 10px; +} + +message { + border: 0px 0 0; + padding: 0px; + background-color: @transparent; +} + +textbox { + highlight: @base0B; + text-color: @base0B; + background-color: @transparent; + padding: 10px 90px 10px 90px; +} + +listview { + background-color: @transparent; + columns: 2; + spacing: 4px; + cycle: false; + dynamic: true; + layout: vertical; + lines: 10; + scrollbar: false; + border: 0px; + fixed-height: false; +} + +element { + background-color: @transparent; + text-color: @base05; + orientation: horizontal; + border-radius: 55px; + padding: 5px 5px 5px 10px; +} + +element-icon { + size: 30px; + border: 0px; + padding: 0px 0px 0px; +} + +element-text { + expand: true; + background-color: @transparent; + text-color: @base05; + vertical-align: 0.5; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @base08; + border-radius: 9px; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @base0B; +} + +element selected { + background-color: @background-alt; + text-color: @base0A; +} + +element selected.urgent { + background-color: @urgent-selected; + text-color: @base08; +} + +element selected.active { + background-color: @background-alt; + color: @base0A; } -@import "/home/chris/.config/rofi/launchers-git/desktop.rasi" diff --git a/rofi/launchers-git/blurry.rasi b/rofi/launchers-git/blurry.rasi index 9d0cb52..5579ba4 100644 --- a/rofi/launchers-git/blurry.rasi +++ b/rofi/launchers-git/blurry.rasi @@ -44,7 +44,7 @@ configuration { base0D: #57c7ff; base0E: #ff6ac1; base0F: #b2643c; - base00t: #282a3666; + base00t: #282a36AA; background-alt: @base02; } @@ -152,7 +152,7 @@ element { } element-icon { - size: 50px; + size: 30px; border: 0px; padding: 0px 0px 0px; } diff --git a/rofi/launchers-git/launcher.sh b/rofi/launchers-git/launcher.sh index c0649bd..65f0ba1 100755 --- a/rofi/launchers-git/launcher.sh +++ b/rofi/launchers-git/launcher.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash if [ $(hostname) = "syl" ]; then - style="laptop" + style="desktop" #echo "this is hidpi" else style="desktop" diff --git a/scripts/filesearch b/scripts/filesearch index 265b1e3..523d255 100755 --- a/scripts/filesearch +++ b/scripts/filesearch @@ -4,7 +4,7 @@ if [ $(hostname) = "syl" ]; then if [ $WAYLAND_DISPLAY = "wayland-0" ]; then style="desktop" else - style="laptop" + style="desktop" #echo "this is hidpi" fi else @@ -12,4 +12,4 @@ else #echo "this is not hidpi" fi -lolcate | rofi -dmenu -p "File Search:" -i -config ~/.config/rofi/launchers-git/$style.rasi -matching regex | xargs -r0 xdg-open +lolcate | rofi -dmenu -p "File Search:" -i -matching regex | xargs -r0 xdg-open diff --git a/sway/config b/sway/config index 2d195c0..269b1ed 100644 --- a/sway/config +++ b/sway/config @@ -16,18 +16,17 @@ output * bg /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg fill ###old ~/Pictures/wallpapers/RoyalKing.png -output eDP-1 pos 0 0 -output DP-3 pos 3000 0 +exec kanshi ### Idle configuration # # Example configuration: # -# exec swayidle -w \ -# timeout 300 'swaylock -f -c 000000' \ -# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ -# before-sleep 'swaylock -f -c 000000' -# + exec swayidle -w \ + timeout 300 'swaylock -S --effect-blur 20x3 --fade-in 1 --effect-vignette 0.5:1 --grace 60' \ + timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ + before-sleep 'swaylock -S --effect-blur 20x3 --effect-vignette 0.5:1' + # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. @@ -78,7 +77,7 @@ client.focused '#282a36' '#57c7ff' '#34353e' '#34353e' bindsym $mod+c kill # Start your launcher - bindsym Menu exec $menu + bindsym $mod+Mod1+Space exec $menu bindsym $mod+Shift+Menu exec wofi --show drun bindsym $mod+Menu exec wofi --show run | xargs swaymsg exec -- bindsym $mod+s exec filesearch @@ -198,9 +197,13 @@ client.focused '#282a36' '#57c7ff' '#34353e' '#34353e' bindsym $mod+a exec alacritty --class pulsemixer -e pulsemixer bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga - bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% + bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle +# Backlight + bindsym XF86MonBrightnessUp exec brightnessctl set +5% + bindsym XF86MonBrightnessDown exec brightnessctl set 5%- + # # Resizing containers: # @@ -254,16 +257,16 @@ for_window [app_id="mpv"] floating enable for_window [app_id="imv"] floating enable for_window [app_id="dolphin"] floating enable for_window [app_id="pulsemixer"] floating enable -for_window [class="\*Org Agenda(a)\*"] floating enable -for_window [app_id="qutebrowser"] move container to workspace number 2, opacity set 1 -for_window [app_id="emacs"] opacity set 0.90 +for_window [class="\*Org Agenda(a)\*"] floating enable; move scratchpad for_window [app_id="__focused__"] opacity set 1 +for_window [app_id="qutebrowser"] move container to workspace number 2, opacity set 1 +# for_window [app_id="emacs"] opacity set 0.90 ### Locking screen bindsym $mod+Ctrl+l exec swaylock-blur --blur-sigma 80 exec emacs --daemon -exec kwalletd5 +# exec kwalletd5 exec mako exec nextcloud --background diff --git a/waybar/config b/waybar/config index b54c605..d9ebdd4 100644 --- a/waybar/config +++ b/waybar/config @@ -4,7 +4,7 @@ "height": 25, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width // Choose the order of the modules - "modules-left": ["sway/workspaces", "river/tags", "sway/mode", "sway/window"], + "modules-left": ["sway/workspaces", "wlr/taskbar", "river/tags", "sway/mode", "sway/window"], "modules-center": ["clock"], "modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"], "margin-top": 0, @@ -143,7 +143,7 @@ "icon-size": 20, "icon-theme": "Papirus-Dark", "tooltip-format": "{title}", - "max-length": 30, + "max-length": 20, "on-click": "activate", "on-click-middle": "close" }, diff --git a/waybar/style.css b/waybar/style.css index 1bf0a71..35f6b5c 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -200,3 +200,4 @@ window#waybar.solo { color: @base0E; background: @backtransparent; } + diff --git a/wayfire/wayfire.ini b/wayfire/wayfire.ini index 79d91a1..1d235ae 100644 --- a/wayfire/wayfire.ini +++ b/wayfire/wayfire.ini @@ -63,42 +63,32 @@ gaussian_iterations = 2 gaussian_offset = 1.000000 kawase_degrade = 6 kawase_iterations = 4 -kawase_offset = 1.5 +kawase_offset = 1.500000 method = kawase saturation = 1.000000 toggle = none [command] - -binding_terminal = KEY_ENTER -command_terminal = alacritty - binding_browser = KEY_B -command_browser = qutebrowser & - binding_emacs = KEY_E -command_emacs = emacsclient -c -a emacs - binding_launcher = KEY_COMPOSE -command_launcher = rofi -show drun -modi drun - -binding_run = KEY_COMPOSE -command_run = rofi -show run -modi run - -binding_screenshot = KEY_PRINT -command_screenshot = grim $(date '+%F_%T').webp - -binding_screenshot_interactive = KEY_PRINT -command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp - -command_volume_down = pactl set-sink-volume @DEFAULT_SINK@ -5% -repeatable_binding_volume_down = KEY_VOLUMEDOWN - -command_volume_up = pactl set-sink-volume @DEFAULT_SINK@ +5% -repeatable_binding_volume_up = KEY_VOLUMEUP - binding_mute = KEY_MUTE +binding_run = KEY_COMPOSE +binding_screenshot = KEY_PRINT +binding_screenshot_interactive = KEY_PRINT +binding_terminal = KEY_ENTER +command_browser = qutebrowser & +command_emacs = emacsclient -c -a emacs +command_launcher = rofi -show drun -modi drun command_mute = pactl set-sink-mute @DEFAULT_SINK@ toggle +command_run = rofi -show run -modi run +command_screenshot = grim $(date '+%F_%T').webp +command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp +command_terminal = alacritty +command_volume_down = pactl set-sink-volume @DEFAULT_SINK@ -5% +command_volume_up = pactl set-sink-volume @DEFAULT_SINK@ +5% +repeatable_binding_volume_down = KEY_VOLUMEDOWN +repeatable_binding_volume_up = KEY_VOLUMEUP [core] background_color = \#1A1A1AFF @@ -107,32 +97,7 @@ focus_button_with_modifiers = false focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT focus_buttons_passthrough = true max_render_time = -1 -plugins = alpha \ - animate \ - autostart \ - command \ - cube \ - decoration \ - expo \ - fast-switcher \ - grid \ - idle \ - invert \ - move \ - oswitch \ - place \ - resize \ - switcher \ - vswitch \ - window-rules \ - wobbly \ - zoom \ - simple-tile \ - blur \ - scale \ - alpha \ - vswipe - +plugins = alpha animate autostart command cube decoration expo fast-switcher grid idle invert move oswitch place resize switcher vswitch window-rules wobbly zoom simple-tile blur scale alpha vswipe wm-actions preferred_decoration_mode = server vheight = 2 vwidth = 2 @@ -181,7 +146,7 @@ select_workspace_6 = KEY_6 select_workspace_7 = KEY_7 select_workspace_8 = KEY_8 select_workspace_9 = KEY_9 -toggle = KEY_W | swipe up <3> +toggle = KEY_W | swipe up 0 [extra-gestures] close_fingers = 20 @@ -216,13 +181,13 @@ y_skew = 0.000000 [grid] duration = 300 restore = KEY_DOWN | KEY_KP0 -slot_b = KEY_KP2 | KEY_J +slot_b = KEY_KP2 | KEY_J slot_bl = KEY_KP1 slot_br = KEY_KP3 slot_c = KEY_UP | KEY_KP5 -slot_l = KEY_H -slot_r = KEY_L -slot_t = KEY_KP8 | KEY_K +slot_l = KEY_H +slot_r = KEY_L +slot_t = KEY_KP8 | KEY_K slot_tl = KEY_KP7 slot_tr = KEY_KP9 type = crossfade @@ -239,7 +204,7 @@ toggle = none [input] click_method = default cursor_size = 24 -cursor_theme = breeze-snow +cursor_theme = Breeze-Snow disable_touchpad_while_mouse = false disable_touchpad_while_typing = true gesture_sensitivity = 1.000000 @@ -269,7 +234,7 @@ output = eDP-1 [invert] preserve_hue = false -toggle = KEY_I +toggle = KEY_I [join-views] @@ -297,6 +262,12 @@ workspace_switch_after = -1 next_output = KEY_O next_output_with_win = KEY_O +[output] +mode = auto +position = auto +scale = 1.000000 +transform = normal + [place] mode = center @@ -318,15 +289,16 @@ text_color = \#CCCCCCFF title_font_size = 16 title_overlay = all title_position = center +toggle = KEY_P toggle_all = KEY_M [scale-title-filter] -bg_color = \#282a3680 +bg_color = \#282A3680 case_sensitive = false font_size = 30 overlay = true share_filter = false -text_color = \#e2e4e5CC +text_color = \#E2E4E5CC [showrepaint] reduce_flicker = true @@ -341,10 +313,10 @@ key_focus_above = KEY_K key_focus_below = KEY_J key_focus_left = KEY_H key_focus_right = KEY_L -key_toggle = KEY_T +key_toggle = KEY_T outer_horiz_gap_size = 20 outer_vert_gap_size = 20 -tile_by_default = if app_id is "emacs" & app_id is "alacritty" +tile_by_default = if app_id is "emacs" & app_id is "alacritty" [switcher] next_view = KEY_TAB @@ -399,7 +371,7 @@ preserve_aspect = true zoom_step = 0.100000 [wm-actions] -minimize = none +minimize = KEY_N toggle_always_on_top = KEY_T toggle_fullscreen = KEY_F toggle_maximize = KEY_M @@ -407,7 +379,7 @@ toggle_showdesktop = none toggle_sticky = none [wobbly] -friction = `.000000 +friction = 3.000000 grid_resolution = 96 spring_k = 9.000000 diff --git a/wayfire/wayfire.ini.bak b/wayfire/wayfire.ini.bak new file mode 100644 index 0000000..9cfe031 --- /dev/null +++ b/wayfire/wayfire.ini.bak @@ -0,0 +1,440 @@ +[alpha] +min_value = 0.100000 +modifier = + +[animate] +close_animation = zoom +duration = 100 +enabled_for = (type equals "toplevel" | (type equals "x-or" & focusable equals true)) +fade_duration = 20 +fade_enabled_for = type equals "overlay" +fire_duration = 10 +fire_enabled_for = none +fire_particle_size = 10.000000 +fire_particles = 542 +open_animation = zoom +startup_duration = 600 +zoom_duration = 100 +zoom_enabled_for = none + +[annotate] +clear_workspace = KEY_C +draw = BTN_LEFT +from_center = true +line_width = 3.000000 +method = draw +stroke_color = \#FF0000FF + +[autorotate-iio] +lock_rotation = false +rotate_down = KEY_J +rotate_left = KEY_H +rotate_right = KEY_L +rotate_up = KEY_K + +[autostart] +autostart_wf_shell = false +bar = waybar +bg = swaybg -i /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg -m fill +gamma = wlsunset +notifications = mako +outputs = kanshi +portal = /usr/libexec/xdg-desktop-portal + +[background-view] +command = mpv --loop=inf +file = + +[bench] +average_frames = 1 +frames_per_update = 3 +position = top_center + +[blur] +blur_by_default = type is "toplevel" +bokeh_degrade = 1 +bokeh_iterations = 15 +bokeh_offset = 5.000000 +box_degrade = 1 +box_iterations = 2 +box_offset = 1.000000 +gaussian_degrade = 3 +gaussian_iterations = 2 +gaussian_offset = 1.000000 +kawase_degrade = 6 +kawase_iterations = 4 +kawase_offset = 1.5 +method = kawase +saturation = 1.000000 +toggle = none + +[command] + +binding_terminal = KEY_ENTER +command_terminal = alacritty + +binding_browser = KEY_B +command_browser = qutebrowser & + +binding_emacs = KEY_E +command_emacs = emacsclient -c -a emacs + +binding_launcher = KEY_COMPOSE +command_launcher = rofi -show drun -modi drun + +binding_run = KEY_COMPOSE +command_run = rofi -show run -modi run + +binding_screenshot = KEY_PRINT +command_screenshot = grim $(date '+%F_%T').webp + +binding_screenshot_interactive = KEY_PRINT +command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp + +command_volume_down = pactl set-sink-volume @DEFAULT_SINK@ -5% +repeatable_binding_volume_down = KEY_VOLUMEDOWN + +command_volume_up = pactl set-sink-volume @DEFAULT_SINK@ +5% +repeatable_binding_volume_up = KEY_VOLUMEUP + +binding_mute = KEY_MUTE +command_mute = pactl set-sink-mute @DEFAULT_SINK@ toggle + +[core] +background_color = \#1A1A1AFF +close_top_view = KEY_C +focus_button_with_modifiers = false +focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT +focus_buttons_passthrough = true +max_render_time = -1 +plugins = alpha \ + animate \ + autostart \ + command \ + cube \ + decoration \ + expo \ + fast-switcher \ + grid \ + idle \ + invert \ + move \ + oswitch \ + place \ + resize \ + switcher \ + vswitch \ + window-rules \ + wobbly \ + zoom \ + simple-tile \ + blur \ + scale \ + alpha \ + vswipe + +preferred_decoration_mode = server +vheight = 2 +vwidth = 2 +xwayland = true + +[crosshair] +line_color = \#FF0000FF +line_width = 2 + +[cube] +activate = BTN_LEFT +background = \#1A1A1AFF +background_mode = simple +cubemap_image = +deform = 0 +initial_animation = 350 +light = true +rotate_left = none +rotate_right = none +skydome_mirror = true +skydome_texture = +speed_spin_horiz = 0.020000 +speed_spin_vert = 0.020000 +speed_zoom = 0.070000 +zoom = 0.100000 + +[decoration] +active_color = \#222222AA +border_size = 0 +button_order = minimize maximize close +font = sans-serif +ignore_views = none +inactive_color = \#333333DD +title_height = 0 + +[expo] +background = \#1A1A1AFF +duration = 200 +offset = 15 +select_workspace_1 = KEY_1 +select_workspace_2 = KEY_2 +select_workspace_3 = KEY_3 +select_workspace_4 = KEY_4 +select_workspace_5 = KEY_5 +select_workspace_6 = KEY_6 +select_workspace_7 = KEY_7 +select_workspace_8 = KEY_8 +select_workspace_9 = KEY_9 +toggle = KEY_W | swipe up <3> + +[extra-gestures] +close_fingers = 20 +move_delay = 500 +move_fingers = 3 + +[fast-switcher] +activate = KEY_ESC +activate_backward = KEY_ESC + +[fisheye] +radius = 450.000000 +toggle = KEY_F +zoom = 7.000000 + +[follow-focus] +change_output = true +change_view = true +focus_delay = 50 +raise_on_top = true +threshold = 10 + +[force-fullscreen] +constrain_pointer = false +constraint_area = view +key_toggle_fullscreen = KEY_F +preserve_aspect = true +transparent_behind_views = true +x_skew = 0.000000 +y_skew = 0.000000 + +[grid] +duration = 300 +restore = KEY_DOWN | KEY_KP0 +slot_b = KEY_KP2 | KEY_J +slot_bl = KEY_KP1 +slot_br = KEY_KP3 +slot_c = KEY_UP | KEY_KP5 +slot_l = KEY_H +slot_r = KEY_L +slot_t = KEY_KP8 | KEY_K +slot_tl = KEY_KP7 +slot_tr = KEY_KP9 +type = crossfade + +[idle] +cube_max_zoom = 1.500000 +cube_rotate_speed = 1.000000 +cube_zoom_speed = 1000 +disable_on_fullscreen = true +dpms_timeout = -1 +screensaver_timeout = 3600 +toggle = none + +[input] +click_method = default +cursor_size = 24 +cursor_theme = Breeze-Snow +disable_touchpad_while_mouse = false +disable_touchpad_while_typing = true +gesture_sensitivity = 1.000000 +kb_capslock_default_state = false +kb_numlock_default_state = false +kb_repeat_delay = 180 +kb_repeat_rate = 200 +middle_emulation = false +modifier_binding_timeout = 400 +mouse_accel_profile = default +mouse_cursor_speed = 0.000000 +mouse_scroll_speed = 1.000000 +natural_scroll = true +scroll_method = default +tap_to_click = true +touchpad_accel_profile = default +touchpad_cursor_speed = 1.000000 +touchpad_scroll_speed = 1.000000 +xkb_layout = us +xkb_model = +xkb_options = +xkb_rules = evdev +xkb_variant = + +[input-device] +output = eDP-1 + +[invert] +preserve_hue = false +toggle = KEY_I + +[join-views] + +[keycolor] +color = \#000000FF +opacity = 0.250000 +threshold = 0.500000 + +[mag] +default_height = 500 +toggle = KEY_M +zoom_level = 75 + +[move] +activate = BTN_LEFT +enable_snap = true +enable_snap_off = true +join_views = false +quarter_snap_threshold = 50 +snap_off_threshold = 10 +snap_threshold = 10 +workspace_switch_after = -1 + +[oswitch] +next_output = KEY_O +next_output_with_win = KEY_O + +[place] +mode = center + +[preserve-output] +last_output_focus_timeout = 10000 + +[resize] +activate = BTN_RIGHT + +[scale] +allow_zoom = true +bg_color = \#1A1A1AE6 +duration = 200 +inactive_alpha = 0.350000 +interact = false +middle_click_close = false +spacing = 50 +text_color = \#CCCCCCFF +title_font_size = 16 +title_overlay = all +title_position = center +toggle_all = KEY_M + +[scale-title-filter] +bg_color = \#282a3680 +case_sensitive = false +font_size = 30 +overlay = true +share_filter = false +text_color = \#e2e4e5CC + +[showrepaint] +reduce_flicker = true +toggle = KEY_S + +[simple-tile] +button_move = BTN_LEFT +button_resize = BTN_RIGHT +inner_gap_size = 8 +keep_fullscreen_on_adjacent = true +key_focus_above = KEY_K +key_focus_below = KEY_J +key_focus_left = KEY_H +key_focus_right = KEY_L +key_toggle = KEY_T +outer_horiz_gap_size = 20 +outer_vert_gap_size = 20 +tile_by_default = if app_id is "emacs" & app_id is "alacritty" + +[switcher] +next_view = KEY_TAB +prev_view = KEY_TAB +speed = 200 +view_thumbnail_scale = 1.000000 + +[vswipe] +background = \#1A1A1AFF +delta_threshold = 24.000000 +duration = 180 +enable_free_movement = false +enable_horizontal = true +enable_smooth_transition = false +enable_vertical = true +fingers = 4 +gap = 32.000000 +speed_cap = 0.050000 +speed_factor = 256.000000 +threshold = 0.350000 + +[vswitch] +background = \#1A1A1AFF +binding_down = KEY_DOWN +binding_left = KEY_LEFT +binding_right = KEY_RIGHT +binding_up = KEY_UP +binding_win_down = KEY_DOWN +binding_win_left = KEY_LEFT +binding_win_right = KEY_RIGHT +binding_win_up = KEY_UP +duration = 300 +gap = 20 +wraparound = false + +[water] +activate = BTN_LEFT + +[window-rules] +rule_1 = on created if app_id is "emacs" then set alpha 0.8 +rule_2 = on created if app_id is "dolphin" then float +rule_3 = on created if app_id is "emacs" then tile + +[winzoom] +dec_x_binding = KEY_LEFT +dec_y_binding = KEY_UP +inc_x_binding = KEY_RIGHT +inc_y_binding = KEY_DOWN +modifier = +nearest_filtering = false +preserve_aspect = true +zoom_step = 0.100000 + +[wm-actions] +minimize = none +toggle_always_on_top = KEY_T +toggle_fullscreen = KEY_F +toggle_maximize = KEY_M +toggle_showdesktop = none +toggle_sticky = none + +[wobbly] +friction = `.000000 +grid_resolution = 96 +spring_k = 9.000000 + +[workarounds] +all_dialogs_modal = true +app_id_mode = stock +dynamic_repaint_delay = false + +[workspace-names] +background_color = \#333333B3 +display_duration = 500 +font = sans-serif +position = center +show_option_names = false +text_color = \#FFFFFFFF + +[wrot] +activate = BTN_RIGHT +activate-3d = BTN_RIGHT +invert = false +reset = KEY_R +reset-one = KEY_R +reset_radius = 25.000000 +sensitivity = 24 + +[zoom] +modifier = +smoothing_duration = 300 +speed = 0.010000 +