aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/data/config.scm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-04-15 00:48:15 -0700
committerGravatar Tom Willemse2022-04-15 00:48:15 -0700
commitaf4c5b3ffdbceface86441c8c4e19e52040ae7c7 (patch)
tree0c9b4f19f403e6c748c18791d400e4a954e7a0f3 /oni/home/data/config.scm
parent9363fb88cf63813f6025e830020954ca4fd09b29 (diff)
downloadnew-dotfiles-af4c5b3ffdbceface86441c8c4e19e52040ae7c7.tar.gz
new-dotfiles-af4c5b3ffdbceface86441c8c4e19e52040ae7c7.zip
Add configuration for herbstluftwm
Diffstat (limited to 'oni/home/data/config.scm')
-rw-r--r--oni/home/data/config.scm65
1 files changed, 64 insertions, 1 deletions
diff --git a/oni/home/data/config.scm b/oni/home/data/config.scm
index 6648adf..cfbfa46 100644
--- a/oni/home/data/config.scm
+++ b/oni/home/data/config.scm
@@ -241,4 +241,67 @@
(service home-xbindkeys-service-type)
- (service home-herbstluftwm-service-type))))
+ (service home-herbstluftwm-service-type
+ (home-herbstluftwm-configuration
+ (tags '(dev web game))
+ (mouse-bindings
+ '(("Mod4-Button1" . "move")
+ ("Mod4-Button2" . "zoom")
+ ("Mod4-Button3" . "resize")))
+ (settings
+ '((default_frame_layout . 2)
+ (frame_border_active_color . "#3d3d3d")
+ (frame_border_normal_color . "#222222")
+ (frame_bg_normal_color . "#111111")
+ (frame_bg_active_color . "#263f1f")
+ (frame_border_width . 0)
+ (window_border_width . 2)
+ (window_border_inner_width . 0)
+ (window_border_normal_color . "#222222")
+ (window_border_active_color . "#1f3f3f")
+ (window_border_inner_color . "#111111")
+ (always_show_frame . 0)
+ (frame_gap . 30)
+ (window_gap . 30)
+ (frame_padding . -30)
+ (frame_bg_transparent . 1)
+ (smart_window_surroundings . 0)
+ (smart_frame_surroundings . 0)
+ (mouse_recenter_gap . 0)
+ (swap_monitors_to_get_tag . 0)
+ (update_dragged_clients . 1)
+ (tree_style . "╾│ ├└╼─┐")))
+ (attributes
+ '(((theme tiling reset) . 1)
+ ((theme floating reset) . 1)))
+ (rules
+ '(("focus=on")
+ ("class=Emacs" "tag=dev" "index=01" "switchtag=on" "hook=emacs")
+ ("class~'URxvt|kitty" "tag=dev" "index=1" "switchtag=on" "hook=urxvt")
+ ("class~'Conkeror|[Ff]irefox|Chromium" "tag=dev" "index=00" "switchtag=on")
+ ("class=Pinentry" "pseudotile=on")
+ ("class=Alsaplayer" "pseudotile=on")
+ ("class=Gcr-prompter" "pseudotile=on")
+ ("class=Steam" "title='Steam Login'" "pseudotile=on")
+ ("class=Steam" "title~'Steam - News .*'" "pseudotile=on")
+ ("class=" "title=Steam" "pseudotile=on")
+ ("class=xfreerdp" "floating=on" "tag=work" "index=0" "switchtag=on")
+ ("windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)'" "pseudotile=on")
+ ("windowtype='_NET_WM_WINDOW_TYPE_DIALOG'" "focus=on")
+ ("windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)'" "manage=off")
+ ("class=pinball.exe" "pseudotile=on")))
+ (padding '(0 0 0 16 16))
+ (layouts
+ '((web clients max:0)
+ (dev split horizontal:0.580:1 (clients max:0) (clients vertical:0))))
+ (extra
+ (list
+ "set_monitors 1920x1080+0+0"
+ "focus_edge left"
+ "keybind Mod4-r spawn rofi -show run"
+ "keybind Mod4-w spawn rofi -show window -window-command \"$HOME/usr/bin/hlwm-switch-to-window {window}\""
+ "systemctl --user start cmst"
+ "keybind Mod4-apostrophe spawn dunstctl close"
+ "keybind Mod4-quotedbl spawn dunstctl close-all"
+ "keybind Mod4-Control-apostrophe spawn dunstctl history-pop"
+ "keybind Mod4-Mod1-apostrophe spawn dunstctl context")))))))