Migrate to `swm`

385f76c3ed04bc05c3bd2c32309c9b3b47437e35
Alexis Sellier committed ago 1 parent 54774000
.config/flameshot/flameshot.ini deleted +0 -5
1 -
[General]
2 -
contrastOpacity=188
3 -
savePath=/home/cloudhead/images
4 -
showDesktopNotification=false
5 -
showStartupLaunchMessage=false
.config/foot/foot.ini +1 -0
1 1
[main]
2 2
font=monospace:size=16
3 3
dpi-aware=yes
4 4
pad=8x6
5 +
resize-by-cells=no
5 6
shell=/usr/bin/fish
6 7
selection-target=both
7 8
8 9
[colors-dark]
9 10
background=000000
.config/fuzzel/fuzzel.ini +2 -2
19 19
match=ffffffff
20 20
selection=202020ff
21 21
selection-text=ddddddff
22 22
selection-match=ffffffff
23 23
counter=2f2f2fff
24 -
border=2f2f2fff
24 +
border=404040ff
25 25
26 26
[border]
27 -
width=1
27 +
width=2
28 28
radius=0
29 29
selection-radius=0
.config/hypr/hyprland.conf deleted +0 -157
1 -
# Plain Hyprland trial config with xmonad-like bindings.
2 -
3 -
$mod = SUPER
4 -
$terminal = foot
5 -
$bar = waybar
6 -
$menu = fuzzel
7 -
$active = rgba(404040ff)
8 -
$dim = rgba(101010ff)
9 -
10 -
monitor = , preferred, auto, 1.5
11 -
12 -
env = MOZ_ENABLE_WAYLAND,1
13 -
env = QT_QPA_PLATFORM,wayland;xcb
14 -
15 -
# Start one login terminal when the session opens so keychain can prompt once.
16 -
exec-once = $terminal --login-shell
17 -
# Start the bottom status bar with Hyprland workspace support.
18 -
exec-once = $bar
19 -
# Set the desktop wallpaper.
20 -
exec-once = hyprpaper
21 -
# Keep the screenshot tray helper available for the Print binding.
22 -
exec-once = flameshot
23 -
# Store copied text in the clipboard history.
24 -
exec-once = wl-paste --type text --watch cliphist store
25 -
# Store copied images in the clipboard history.
26 -
exec-once = wl-paste --type image --watch cliphist store
27 -
28 -
input {
29 -
    kb_layout = us
30 -
    kb_variant = altgr-intl
31 -
    follow_mouse = 1
32 -
    repeat_rate = 40
33 -
    repeat_delay = 180
34 -
    sensitivity = -0.1
35 -
}
36 -
37 -
general {
38 -
    layout = master
39 -
    gaps_in = 0
40 -
    gaps_out = 0
41 -
    border_size = 1
42 -
    col.active_border = $active
43 -
    col.inactive_border = $dim
44 -
    resize_on_border = true
45 -
}
46 -
47 -
decoration {
48 -
    rounding = 0
49 -
50 -
    shadow {
51 -
        enabled = false
52 -
    }
53 -
54 -
    blur {
55 -
        enabled = false
56 -
    }
57 -
}
58 -
59 -
animations {
60 -
    enabled = false
61 -
}
62 -
63 -
misc {
64 -
    disable_hyprland_logo = true
65 -
    disable_splash_rendering = true
66 -
    mouse_move_enables_dpms = true
67 -
    key_press_enables_dpms = true
68 -
    on_focus_under_fullscreen = 1
69 -
}
70 -
71 -
ecosystem {
72 -
    no_update_news = true
73 -
}
74 -
75 -
master {
76 -
    mfact = 0.60
77 -
    new_status = slave
78 -
    new_on_active = after
79 -
    new_on_top = false
80 -
    orientation = left
81 -
}
82 -
83 -
# xmonad defaults, translated to Hyprland's master layout.
84 -
bind = $mod SHIFT, Return, exec, $terminal
85 -
bind = $mod, P, exec, $menu
86 -
bind = $mod SHIFT, C, killactive
87 -
bind = $mod, Space, layoutmsg, orientationnext
88 -
bind = $mod, N, layoutmsg, orientationleft
89 -
bind = $mod, Tab, workspace, previous
90 -
bind = $mod SHIFT, Tab, layoutmsg, cyclenext prev
91 -
bind = $mod, J, layoutmsg, cyclenext
92 -
bind = $mod, K, layoutmsg, cyclenext prev
93 -
bind = $mod, M, layoutmsg, focusmaster
94 -
bind = $mod, Return, layoutmsg, swapwithmaster
95 -
bind = $mod SHIFT, J, layoutmsg, swapnext
96 -
bind = $mod SHIFT, K, layoutmsg, swapnext prev
97 -
bind = $mod, H, layoutmsg, mfact -0.05
98 -
bind = $mod, L, layoutmsg, mfact +0.05
99 -
bind = $mod, T, settiled
100 -
bind = $mod, comma, layoutmsg, addmaster
101 -
bind = $mod, period, layoutmsg, removemaster
102 -
bind = $mod SHIFT, Q, exit
103 -
bind = $mod, Q, exec, hyprctl reload
104 -
105 -
# Existing practical bindings retained from the Sway setup.
106 -
bind = $mod, X, exec, swaylock -f -c 000000
107 -
bind = $mod SHIFT, S, exec, systemctl suspend
108 -
bind = $mod SHIFT, L, exec, sh -c 'cliphist list | fuzzel --dmenu --width 100 | cliphist decode | wl-copy'
109 -
bind = $mod, F, fullscreen, 1
110 -
bind = $mod SHIFT, F, fullscreen
111 -
bind = , Print, exec, flameshot gui
112 -
113 -
bind = $mod, 1, workspace, 1
114 -
bind = $mod, 2, workspace, 2
115 -
bind = $mod, 3, workspace, 3
116 -
bind = $mod, 4, workspace, 4
117 -
bind = $mod, 5, workspace, 5
118 -
bind = $mod, 6, workspace, 6
119 -
bind = $mod, 7, workspace, 7
120 -
bind = $mod, 8, workspace, 8
121 -
bind = $mod, 9, workspace, 9
122 -
bind = $mod, 0, workspace, 10
123 -
124 -
bind = $mod SHIFT, 1, movetoworkspace, 1
125 -
bind = $mod SHIFT, 2, movetoworkspace, 2
126 -
bind = $mod SHIFT, 3, movetoworkspace, 3
127 -
bind = $mod SHIFT, 4, movetoworkspace, 4
128 -
bind = $mod SHIFT, 5, movetoworkspace, 5
129 -
bind = $mod SHIFT, 6, movetoworkspace, 6
130 -
bind = $mod SHIFT, 7, movetoworkspace, 7
131 -
bind = $mod SHIFT, 8, movetoworkspace, 8
132 -
bind = $mod SHIFT, 9, movetoworkspace, 9
133 -
bind = $mod SHIFT, 0, movetoworkspace, 10
134 -
135 -
# xmonad's W/E/R screen bindings, using Hyprland monitor indexes.
136 -
bind = $mod, W, focusmonitor, 0
137 -
bind = $mod, E, focusmonitor, 1
138 -
bind = $mod, R, focusmonitor, 2
139 -
bind = $mod SHIFT, W, movewindow, mon:0
140 -
bind = $mod SHIFT, E, movewindow, mon:1
141 -
bind = $mod SHIFT, R, movewindow, mon:2
142 -
143 -
bind = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
144 -
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
145 -
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
146 -
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
147 -
bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
148 -
bind = , XF86MonBrightnessUp, exec, brightnessctl set 5%+
149 -
150 -
bind = $mod, mouse:272, setfloating
151 -
bindm = $mod, mouse:272, movewindow
152 -
bindm = $mod, mouse:273, resizewindow
153 -
154 -
windowrule = match:class ^(org.keepassxc.KeePassXC)$, float on
155 -
windowrule = match:class ^(org.pulseaudio.pavucontrol)$, float on
156 -
windowrule = match:class ^(org.telegram.desktop)$, float on
157 -
windowrule = match:class ^(org.telegram.desktop)$, border_size 0
.config/hypr/hyprpaper.conf deleted +0 -7
1 -
splash = false
2 -
3 -
wallpaper {
4 -
    monitor = DP-1
5 -
    path = /home/cloudhead/images/wallpaper.png
6 -
    fit_mode = tile
7 -
}
.config/nvim/coc-settings.json +1 -8
60 60
61 61
  "list.maxHeight": 10,
62 62
  "list.autoResize": false,
63 63
  "list.extendedSearchMode": false,
64 64
65 -
  "languageserver": {
66 -
    "clangd": {
67 -
      "command": "clangd",
68 -
      "rootPatterns": ["compile_flags.txt", "compile_commands.json"],
69 -
      "filetypes": ["c"]
70 -
    }
71 -
  },
72 -
65 +
  "languageserver": {},
73 66
  "suggest.maxCompleteItemCount": 32
74 67
}
.config/waybar/style.css +49 -3
47 47
}
48 48
49 49
#custom-clipboard {
50 50
    background-color: transparent;
51 51
    color: #dddddd;
52 +
    padding: 0 8px;
53 +
}
54 +
55 +
#custom-screenshot {
56 +
    background-color: transparent;
57 +
    color: #dddddd;
58 +
    padding: 0 8px;
59 +
}
60 +
61 +
#custom-clipboard:hover,
62 +
#custom-screenshot:hover {
63 +
    background-color: #404040;
64 +
    color: #ffffff;
52 65
}
53 66
54 67
#tray {
55 68
    background-color: transparent;
56 69
}
57 70
58 71
#workspaces button {
59 72
    background-color: transparent;
73 +
    background-image: none;
60 74
    border: none;
61 75
    box-shadow: none;
62 -
    color: #333333;
76 +
    color: #777777;
77 +
    text-shadow: none;
78 +
    -gtk-icon-shadow: none;
79 +
    transition: none;
80 +
    animation: none;
63 81
}
64 82
65 83
#workspaces button:hover {
66 -
    background-color: #101010;
84 +
    background: #181818;
85 +
    background-image: none;
67 86
    border: none;
68 87
    box-shadow: none;
88 +
    color: #777777;
89 +
    text-shadow: none;
90 +
    -gtk-icon-shadow: none;
91 +
    transition: none;
92 +
    animation: none;
69 93
}
70 94
71 95
#workspaces button.visible {
72 -
    color: #242424;
96 +
    color: #777777;
73 97
}
74 98
75 99
#workspaces button.focused,
76 100
#workspaces button.active {
77 101
    background-color: #1a1a1a;
78 102
    color: #999999;
79 103
    box-shadow: none;
104 +
    text-shadow: none;
105 +
    -gtk-icon-shadow: none;
80 106
}
81 107
82 108
#workspaces button.urgent {
83 109
    background-color: #b03060;
84 110
    color: #ffffff;
85 111
}
112 +
113 +
#taskbar button {
114 +
    background-color: transparent;
115 +
    border: none;
116 +
    box-shadow: none;
117 +
    color: #dddddd;
118 +
    padding: 0;
119 +
}
120 +
121 +
#taskbar button:not(.active) {
122 +
    font-size: 0;
123 +
    min-width: 0;
124 +
    margin: 0;
125 +
    opacity: 0;
126 +
}
127 +
128 +
#taskbar button.active {
129 +
    padding-left: 8px;
130 +
    padding-right: 8px;
131 +
}