scratchpad from bling awesome

This commit is contained in:
Chris Cochrun 2021-09-08 09:27:25 -05:00
parent 0d7f3e5a89
commit 87ee1ba3d0
20 changed files with 724 additions and 117 deletions

@ -1 +1 @@
Subproject commit 048cf41e0aa5a391948d62e6168d6e54279cf627
Subproject commit 0fb85341916b6de1c5cd6ddf3e8472292a93a303

View file

@ -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")

View file

@ -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"))

View file

@ -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
}
}
{

View file

@ -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

View file

@ -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
<period> = next_frame

View file

@ -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'
}

View file

@ -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

View file

@ -30,4 +30,4 @@ settings:
tabs.show:
global: always
zoom.default:
global: 150%
global: 100%

View file

@ -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

View file

@ -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

View file

@ -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} [<span weight='light' size='small'><i>({generic})</i></span>] - {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"

View file

@ -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;
}

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ $(hostname) = "syl" ]; then
style="laptop"
style="desktop"
#echo "this is hidpi"
else
style="desktop"

View file

@ -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

View file

@ -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

View file

@ -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"
},

View file

@ -200,3 +200,4 @@ window#waybar.solo {
color: @base0E;
background: @backtransparent;
}

View file

@ -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 = <super> KEY_ENTER
command_terminal = alacritty
binding_browser = <super> KEY_B
command_browser = qutebrowser &
binding_emacs = <super> KEY_E
command_emacs = emacsclient -c -a emacs
binding_launcher = KEY_COMPOSE
command_launcher = rofi -show drun -modi drun
binding_run = <super> KEY_COMPOSE
command_run = rofi -show run -modi run
binding_screenshot = KEY_PRINT
command_screenshot = grim $(date '+%F_%T').webp
binding_screenshot_interactive = <shift> 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 = <super> KEY_COMPOSE
binding_screenshot = KEY_PRINT
binding_screenshot_interactive = <shift> KEY_PRINT
binding_terminal = <super> 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 = <super> KEY_W | swipe up <3>
toggle = <super> KEY_W | swipe up 0
[extra-gestures]
close_fingers = 20
@ -216,13 +181,13 @@ y_skew = 0.000000
[grid]
duration = 300
restore = <super> KEY_DOWN | <super> KEY_KP0
slot_b = <super> KEY_KP2 | <super> <shift> KEY_J
slot_b = <super> KEY_KP2 | <shift> <super> KEY_J
slot_bl = <super> KEY_KP1
slot_br = <super> KEY_KP3
slot_c = <super> KEY_UP | <super> KEY_KP5
slot_l = <super> <shift> KEY_H
slot_r = <super> <shift> KEY_L
slot_t = <super> KEY_KP8 | <super> <shift> KEY_K
slot_l = <shift> <super> KEY_H
slot_r = <shift> <super> KEY_L
slot_t = <super> KEY_KP8 | <shift> <super> KEY_K
slot_tl = <super> KEY_KP7
slot_tr = <super> 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 = <super> <alt> KEY_I
toggle = <alt> <super> KEY_I
[join-views]
@ -297,6 +262,12 @@ workspace_switch_after = -1
next_output = <super> KEY_O
next_output_with_win = <shift> <super> 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 = <super> KEY_P
toggle_all = <super> 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,7 +313,7 @@ key_focus_above = <super> KEY_K
key_focus_below = <super> KEY_J
key_focus_left = <super> KEY_H
key_focus_right = <super> KEY_L
key_toggle = <super> <shift> KEY_T
key_toggle = <shift> <super> KEY_T
outer_horiz_gap_size = 20
outer_vert_gap_size = 20
tile_by_default = if app_id is "emacs" & app_id is "alacritty"
@ -399,7 +371,7 @@ preserve_aspect = true
zoom_step = 0.100000
[wm-actions]
minimize = none
minimize = <super> KEY_N
toggle_always_on_top = <super> KEY_T
toggle_fullscreen = <super> KEY_F
toggle_maximize = <super> 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

440
wayfire/wayfire.ini.bak Normal file
View file

@ -0,0 +1,440 @@
[alpha]
min_value = 0.100000
modifier = <super>
[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 = <alt> <super> KEY_C
draw = <alt> <super> BTN_LEFT
from_center = true
line_width = 3.000000
method = draw
stroke_color = \#FF0000FF
[autorotate-iio]
lock_rotation = false
rotate_down = <ctrl> <super> KEY_J
rotate_left = <ctrl> <super> KEY_H
rotate_right = <ctrl> <super> KEY_L
rotate_up = <ctrl> <super> 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 = <super> KEY_ENTER
command_terminal = alacritty
binding_browser = <super> KEY_B
command_browser = qutebrowser &
binding_emacs = <super> KEY_E
command_emacs = emacsclient -c -a emacs
binding_launcher = KEY_COMPOSE
command_launcher = rofi -show drun -modi drun
binding_run = <super> KEY_COMPOSE
command_run = rofi -show run -modi run
binding_screenshot = KEY_PRINT
command_screenshot = grim $(date '+%F_%T').webp
binding_screenshot_interactive = <shift> 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 = <super> 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 = <alt> <ctrl> 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 = <super> KEY_W | swipe up <3>
[extra-gestures]
close_fingers = 20
move_delay = 500
move_fingers = 3
[fast-switcher]
activate = <alt> KEY_ESC
activate_backward = <alt> <shift> KEY_ESC
[fisheye]
radius = 450.000000
toggle = <ctrl> <super> 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 = <super> KEY_F
preserve_aspect = true
transparent_behind_views = true
x_skew = 0.000000
y_skew = 0.000000
[grid]
duration = 300
restore = <super> KEY_DOWN | <super> KEY_KP0
slot_b = <super> KEY_KP2 | <super> <shift> KEY_J
slot_bl = <super> KEY_KP1
slot_br = <super> KEY_KP3
slot_c = <super> KEY_UP | <super> KEY_KP5
slot_l = <super> <shift> KEY_H
slot_r = <super> <shift> KEY_L
slot_t = <super> KEY_KP8 | <super> <shift> KEY_K
slot_tl = <super> KEY_KP7
slot_tr = <super> 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 = <super> <alt> KEY_I
[join-views]
[keycolor]
color = \#000000FF
opacity = 0.250000
threshold = 0.500000
[mag]
default_height = 500
toggle = <alt> <super> KEY_M
zoom_level = 75
[move]
activate = <super> 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 = <super> KEY_O
next_output_with_win = <shift> <super> KEY_O
[place]
mode = center
[preserve-output]
last_output_focus_timeout = 10000
[resize]
activate = <super> 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 = <super> 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 = <alt> <super> KEY_S
[simple-tile]
button_move = <super> BTN_LEFT
button_resize = <super> BTN_RIGHT
inner_gap_size = 8
keep_fullscreen_on_adjacent = true
key_focus_above = <super> KEY_K
key_focus_below = <super> KEY_J
key_focus_left = <super> KEY_H
key_focus_right = <super> KEY_L
key_toggle = <super> <shift> 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 = <super> KEY_TAB
prev_view = <ctrl> <super> 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 = <ctrl> <super> KEY_DOWN
binding_left = <ctrl> <super> KEY_LEFT
binding_right = <ctrl> <super> KEY_RIGHT
binding_up = <ctrl> <super> KEY_UP
binding_win_down = <ctrl> <shift> <super> KEY_DOWN
binding_win_left = <ctrl> <shift> <super> KEY_LEFT
binding_win_right = <ctrl> <shift> <super> KEY_RIGHT
binding_win_up = <ctrl> <shift> <super> KEY_UP
duration = 300
gap = 20
wraparound = false
[water]
activate = <ctrl> <super> 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 = <ctrl> <super> KEY_LEFT
dec_y_binding = <ctrl> <super> KEY_UP
inc_x_binding = <ctrl> <super> KEY_RIGHT
inc_y_binding = <ctrl> <super> KEY_DOWN
modifier = <ctrl> <super>
nearest_filtering = false
preserve_aspect = true
zoom_step = 0.100000
[wm-actions]
minimize = none
toggle_always_on_top = <super> KEY_T
toggle_fullscreen = <super> KEY_F
toggle_maximize = <super> 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 = <ctrl> <super> BTN_RIGHT
activate-3d = <shift> <super> BTN_RIGHT
invert = false
reset = <ctrl> <super> KEY_R
reset-one = <super> KEY_R
reset_radius = 25.000000
sensitivity = 24
[zoom]
modifier = <shift> <super>
smoothing_duration = 300
speed = 0.010000