Configuration files

various: add wayland desktop config

Changed files
+165
.config
i3bar-river
i3status-rust
mako
river
+15
.config/i3bar-river/config.toml
··· 1 + command = "i3status-rs" 2 + 3 + background = "#16161D" 4 + color = "#C8C093" 5 + separator = "#2A2A37" 6 + tag_fg = "#54546D" 7 + tag_bg = "#363646" 8 + tag_focused_fg = "#DCD7BA" 9 + tag_focused_bg = "#E46876" 10 + tag_urgent_fg = "#DCD7BA" 11 + tag_urgent_bg = "#FFA066" 12 + 13 + separator_width = 0 14 + tags_r = 6 15 + blocks_r = 6
+53
.config/i3status-rust/config.toml
··· 1 + [theme] 2 + theme = "slick" 3 + [theme.overrides] 4 + separator = "native" 5 + alternating_tint_bg = "none" 6 + alternating_tint_fg = "none" 7 + idle_fg = "#DCD7BA" 8 + idle_bg = "#363646" 9 + good_fg = "#DCD7BA" 10 + good_bg = "#76946A" 11 + warning_fg = { link = "good_fg" } 12 + warning_bg = "#FF9E3B" 13 + critical_fg = { link = "good_fg" } 14 + critical_bg = "#E82424" 15 + info_fg = { link = "good_fg" } 16 + info_bg = "#6A9589" 17 + 18 + 19 + [icons] 20 + icons = "awesome4" 21 + 22 + [[block]] 23 + block = "cpu" 24 + info_cpu = 20 25 + warning_cpu = 50 26 + critical_cpu = 90 27 + 28 + [[block]] 29 + block = "memory" 30 + format = " $icon $mem_total_used_percents.eng(w:2) " 31 + format_alt = " $icon_swap $swap_used_percents.eng(w:2) " 32 + 33 + [[block]] 34 + block = "battery" 35 + 36 + [[block]] 37 + block = "sound" 38 + [[block.click]] 39 + button = "left" 40 + cmd = "pavucontrol" 41 + 42 + [[block]] 43 + block = "time" 44 + interval = 5 45 + format = " $timestamp.datetime(f:'%a %d/%m %R') " 46 + 47 + [[block]] 48 + block = "custom" 49 + command = "echo \uf011" # assumes fontawesome icons 50 + interval = "once" 51 + [[block.click]] 52 + button = "left" 53 + cmd = "loginctl `echo -e 'suspend\npoweroff\nreboot' | tofi --prompt-text 'power '`"
+4
.config/mako/config
··· 1 + background-color=#16161D 2 + text-color=#C8C093 3 + border-color=#16161D 4 + border-radius=5
+93
.config/river/init
··· 1 + #!/bin/sh 2 + 3 + USE_BSP=0 4 + if [ -e "$(which river-bsp-layout)" ]; then 5 + USE_BSP=1 6 + fi 7 + MAIN_MOD=Super 8 + 9 + riverctl map normal $MAIN_MOD+Shift Return spawn ghostty 10 + riverctl map normal $MAIN_MOD+Shift B spawn epiphany 11 + riverctl map normal $MAIN_MOD+Shift E spawn emacs 12 + riverctl map normal $MAIN_MOD Space spawn 'tofi-drun | xargs -I % riverctl spawn %' 13 + 14 + riverctl map normal $MAIN_MOD Q close 15 + 16 + riverctl map normal $MAIN_MOD+Shift+Control Q exit 17 + 18 + riverctl map normal $MAIN_MOD H focus-view left 19 + riverctl map normal $MAIN_MOD J focus-view next 20 + riverctl map normal $MAIN_MOD K focus-view previous 21 + riverctl map normal $MAIN_MOD L focus-view right 22 + 23 + riverctl map normal $MAIN_MOD+Shift H swap left 24 + riverctl map normal $MAIN_MOD+Shift J swap next 25 + riverctl map normal $MAIN_MOD+Shift K swap previous 26 + riverctl map normal $MAIN_MOD+Shift L swap right 27 + 28 + riverctl map normal $MAIN_MOD+Shift+Control K zoom 29 + 30 + riverctl map normal $MAIN_MOD Period focus-output next 31 + riverctl map normal $MAIN_MOD Comma focus-output previous 32 + 33 + riverctl map normal $MAIN_MOD+Shift Period send-to-output next 34 + riverctl map normal $MAIN_MOD+Shift Comma send-to-output previous 35 + 36 + riverctl map normal $MAIN_MOD Return zoom 37 + 38 + if [ $USE_BSP -eq 1 ]; then 39 + riverctl map normal $MAIN_MOD Up send-layout-cmd bsp-layout "--dec-hsplit 0.05" 40 + riverctl map normal $MAIN_MOD Down send-layout-cmd bsp-layout "--inc-hsplit 0.05" 41 + riverctl map normal $MAIN_MOD Left send-layout-cmd bsp-layout "--dec-vsplit 0.05" 42 + riverctl map normal $MAIN_MOD Right send-layout-cmd bsp-layout "--inc-vsplit 0.05" 43 + riverctl map normal $MAIN_MOD+Shift Up send-layout-cmd bsp-layout "--start-vsplit" 44 + riverctl map normal $MAIN_MOD+Shift Right send-layout-cmd bsp-layout "--start-hsplit" 45 + riverctl map normal $MAIN_MOD+Shift Left send-layout-cmd bsp-layout "--reverse" 46 + else 47 + riverctl map normal $MAIN_MOD Left send-layout-cmd rivertile "main-ratio -0.05" 48 + riverctl map normal $MAIN_MOD Right send-layout-cmd rivertile "main-ratio +0.05" 49 + fi 50 + 51 + riverctl map-pointer normal $MAIN_MOD BTN_LEFT move-view 52 + 53 + riverctl map-pointer normal $MAIN_MOD BTN_RIGHT resize-view 54 + 55 + riverctl map-pointer normal $MAIN_MOD BTN_MIDDLE toggle-float 56 + 57 + for i in $(seq 1 9); do 58 + tags=$((1 << ($i - 1))) 59 + 60 + riverctl map normal $MAIN_MOD $i set-focused-tags $tags 61 + riverctl map normal $MAIN_MOD+Shift $i set-view-tags $tags 62 + riverctl map normal $MAIN_MOD+Control $i toggle-focused-tags $tags 63 + riverctl map normal $MAIN_MOD+Shift+Control $i toggle-view-tags $tags 64 + done 65 + 66 + riverctl map normal $MAIN_MOD+Shift F toggle-float 67 + 68 + riverctl map normal $MAIN_MOD F toggle-fullscreen 69 + 70 + riverctl background-color 0x16161d 71 + riverctl border-color-unfocused 0x54546D 72 + riverctl border-color-focused 0xE46876 73 + riverctl border-width 5 74 + 75 + riverctl set-repeat 50 300 76 + 77 + riverctl rule-add -app-id 'float*' float 78 + riverctl rule-add ssd 79 + 80 + riverctl focus-follows-cursor normal 81 + riverctl default-attach-mode below 82 + 83 + if [ $USE_BSP -eq 1 ]; then 84 + riverctl default-layout bsp-layout 85 + river-bsp-layout --inner-gap 7 --outer-gap 18 --split-perc 0.5 & 86 + else 87 + riverctl default-layout rivertile 88 + rivertile -view-padding 6 -outer-padding 6 & 89 + fi 90 + 91 + swaybg -m fill -i $(cat ~/.current_wallpaper) & 92 + riverctl spawn i3bar-river 93 + riverctl spawn mako