commit 1943ddc

chld  ·  2026-10-25 20:53:02 +0000 UTC
parent c92a17c
update
10 files changed,  +277, -37
M emacs
+3, -4
 1@@ -7,8 +7,6 @@ URxvt.intensityStyles: false
 2 *scrollBar: true
 3 *scrollstyle: xterm
 4 *resizeByPixel: true
 5-*scrollbar*background: #000
 6-*scrollbar*foreground: #aaa
 7 *scrollbar*thumb: /home/chld/t/t.xbm
 8 *scrollBarBorder: 0
 9 *internalBorder: 30
10@@ -23,9 +21,10 @@ URxvt.keysym.Shift-Control-V: eval:paste_clipboard
11 ! ┃┃┃┃┃━┫┗━┓┃┃┃┃━┫
12 ! ┛ ┇┇┛ ┇━━┛┛ ┇┛ ┇
13 
14-xterm*.foreground:   #d7c483
15-xterm*.background:   #0a0000
16+xterm*foreground:   #d7c483
17+xterm*background:   #0f0d0d
18 xterm*.cursorColor:  #d7c483
19+xterm*scrollbar*foreground: #574631
20 
21 ! black
22 xterm*.color0:       #1b0000
+2, -1
1@@ -1,2 +1,3 @@
2 #!/bin/sh -eu
3-curl $1 -o -| feh -
4+PLAYER=mpv
5+curl $1 -o -| $PLAYER -
+2, -0
1@@ -0,0 +1,2 @@
2+#!/bin/sh
3+$HOME/FreesmLauncher-Linux-x86_64.AppImage
+2, -0
1@@ -0,0 +1,2 @@
2+#!/bin/sh
3+flatpak run org.vinegarhq.Sober
M emacs
+1, -1
1@@ -116,7 +116,7 @@
2 (add-to-list 'custom-theme-load-path (concat user-emacs-directory "/nonpackaged/"))
3 (load-theme 'solarized-gruvbox-dark :no-confirm)
4 ;; (set-face-attribute 'default nil :background "#d7c483" :foreground "#222222")
5-(set-face-attribute 'default nil :background "#0a0000" :foreground "#d7c483")
6+(set-face-attribute 'default nil :background "#0f0d0d" :foreground "#d7c483")
7 (custom-set-faces
8  ;; custom-set-faces was added by Custom.
9  ;; If you edit it by hand, you could mess it up, so be careful.
+2, -2
 1@@ -25,7 +25,7 @@ term=foot
 2 pad=16x32 center
 3 initial-window-size-pixels=400x300
 4 resize-by-cells=yes
 5-font=PxPlus IBM VGA 8x16:size=12
 6+font=scientifica:size=8
 7 
 8 [colors]
 9 alpha=1
10@@ -38,4 +38,4 @@ alpha=1
11 # Normal colors
12 [colors]
13 foreground=ffffff
14-background=000000
15+background=0f0d0d
+3, -1
 1@@ -1,6 +1,6 @@
 2 #!/bin/sh
 3 
 4-for i in foot sway berry fish fontconfig rofi sway i3 picom labwc feh
 5+for i in foot sway berry fish fontconfig rofi sway i3 picom labwc feh waybar
 6 do
 7     mkdir -p $HOME/.config/$i
 8 done
 9@@ -17,6 +17,8 @@ done
10 
11 ln -sf $PWD/Xresources $HOME/.Xresources
12 ln -sf $PWD/xinitrc $HOME/.xinitrc
13+ln -sf $PWD/waybar.css $HOME/.config/waybar/style.css
14+ln -sf $PWD/waybar.jsonc $HOME/.config/waybar/config.jsonc
15 ln -sf $PWD/picom.conf $HOME/.config/picom/picom.conf
16 ln -sf $PWD/feh.buttons $HOME/.config/feh/buttons
17 ln -sf $PWD/foot.ini $HOME/.config/foot/foot.ini
+28, -28
 1@@ -1,7 +1,7 @@
 2 input "1072:1282:Fujitsu_Component_USB_Touch_Panel" {    
 3-    calibration_matrix 1.04348 0.0 -0.0217391 0 1.06077 -0.0529754
 4-    tap enabled                    # Tap to click
 5-    dwt disabled                    # Disable touchpad while typing
 6+calibration_matrix 1.04348 0.0 -0.0217391 0 1.06077 -0.0529754
 7+tap enabled                    # Tap to click
 8+dwt disabled                    # Disable touchpad while typing
 9 }
10 
11 gaps inner 15
12@@ -9,43 +9,43 @@ gaps inner 15
13 set $mod Mod4
14 set $term foot
15 set $menu rofi -show run -theme config.rasi
16-# exec xfce4-panel
17+exec waybar
18 # exec aws
19 
20-# output * bg ~/media/w/aha.png tile
21-    bindsym $mod+z exec $term
22-    bindsym $mod+e exec emacs
23-    bindsym $mod+a kill
24-    bindsym $mod+x exec $menu
25+output * bg ~/blokk.JPG stretch
26+bindsym $mod+z exec $term
27+bindsym $mod+e exec emacs
28+bindsym $mod+a kill
29+bindsym $mod+x exec $menu
30+bindsym $mod+f fullscreen
31+bindsym $mod+s floating toggle
32 
33-    floating_modifier $mod normal
34-    bindsym $mod+Shift+c reload
35+floating_modifier $mod normal
36+bindsym $mod+Shift+c reload
37 
38-    bindsym $mod+Shift+q exec swaynag -t warning -m 'im sorry dont leave me i want you here with me now dont say that' -B 'our love is gone' 'swaymsg exit'
39+bindsym $mod+Shift+q exec swaynag -t warning -m 'im sorry dont leave me i want you here with me now dont say that' -B 'our love is gone' 'swaymsg exit'
40 #
41-    bindsym $mod+1 workspace number 1
42-    bindsym $mod+2 workspace number 2
43-    bindsym $mod+3 workspace number 3
44-    bindsym $mod+4 workspace number 4
45-    bindsym $mod+5 workspace number 5
46-    bindsym $mod+Shift+1 move container to workspace number 1
47-    bindsym $mod+Shift+2 move container to workspace number 2
48-    bindsym $mod+Shift+3 move container to workspace number 3
49-    bindsym $mod+Shift+4 move container to workspace number 4
50-    bindsym $mod+Shift+5 move container to workspace number 5
51-    
52-    bindsym $mod+f fullscreen
53-    bindsym $mod+Shift+space floating toggle
54-    
55+bindsym $mod+1 workspace number 1
56+bindsym $mod+2 workspace number 2
57+bindsym $mod+3 workspace number 3
58+bindsym $mod+4 workspace number 4
59+bindsym $mod+5 workspace number 5
60+bindsym $mod+Shift+1 move container to workspace number 1
61+bindsym $mod+Shift+2 move container to workspace number 2
62+bindsym $mod+Shift+3 move container to workspace number 3
63+bindsym $mod+Shift+4 move container to workspace number 4
64+bindsym $mod+Shift+5 move container to workspace number 5
65+
66 bindsym Print exec grect
67 
68 for_window [class=.*] floating enable
69 
70-default_border pixel 1
71-default_floating_border pixel 1
72+default_border pixel 3
73+default_floating_border pixel 3
74 
75 set $a #000000
76 set $b #000000
77 set $c #000000
78 client.focused $a $a $c $a $a
79+client.focused_inactive $a $a $b $a $a
80 client.unfocused $a $a $b $a $a
+19, -0
 1@@ -0,0 +1,19 @@
 2+
 3+ 
 4+* {
 5+    font-family: "Misc Fixed";
 6+    font-size: 14px;
 7+}
 8+
 9+window#waybar {
10+    background-color: transparent;
11+    color: #ffffff;
12+    border-radius: 0px;
13+}
14+
15+#waybar > box {
16+    margin: 6px 8px 0 8px;
17+    padding: 2px;
18+    background-color: #0f0d0d; /* Adjust color and opacity */
19+    border-radius: 0px;
20+}
+215, -0
  1@@ -0,0 +1,215 @@
  2+// -*- mode: jsonc -*-
  3+{
  4+    // "layer": "top", // Waybar at top layer
  5+    // "position": "bottom", // Waybar position (top|bottom|left|right)
  6+    "height": 30, // Waybar height (to be removed for auto height)
  7+    // "width": 1280, // Waybar width
  8+    "spacing": 4, // Gaps between modules (4px)
  9+    // Choose the order of the modules
 10+    "modules-left": [
 11+        //"sway/workspaces",
 12+        "sway/mode",
 13+        "sway/scratchpad",
 14+        "custom/media"
 15+    ],
 16+    "modules-center": [
 17+        "sway/window"
 18+    ],
 19+    "modules-right": [
 20+//        "mpd",
 21+//        "idle_inhibitor",
 22+//        "pulseaudio",
 23+//        "network",
 24+//        "power-profiles-daemon",
 25+        "cpu",
 26+        "memory",
 27+//        "temperature",
 28+//        "backlight",
 29+//        "keyboard-state",
 30+//        "sway/language",
 31+        "battery",
 32+//        "battery#bat2",
 33+        "clock",
 34+        "tray",
 35+        "custom/power"
 36+    ],
 37+    // Modules configuration
 38+    // "sway/workspaces": {
 39+    //     "disable-scroll": true,
 40+    //     "all-outputs": true,
 41+    //     "warp-on-scroll": false,
 42+    //     "format": "{name}: {icon}",
 43+    //     "format-icons": {
 44+    //         "1": "",
 45+    //         "2": "",
 46+    //         "3": "",
 47+    //         "4": "",
 48+    //         "5": "",
 49+    //         "urgent": "",
 50+    //         "focused": "",
 51+    //         "default": ""
 52+    //     }
 53+    // },
 54+    "keyboard-state": {
 55+        "numlock": true,
 56+        "capslock": true,
 57+        "format": "{name} {icon}",
 58+        "format-icons": {
 59+            "locked": "",
 60+            "unlocked": ""
 61+        }
 62+    },
 63+    "sway/mode": {
 64+        "format": "<span style=\"italic\">{}</span>"
 65+    },
 66+    "sway/scratchpad": {
 67+        "format": "{icon} {count}",
 68+        "show-empty": false,
 69+        "format-icons": ["", ""],
 70+        "tooltip": true,
 71+        "tooltip-format": "{app}: {title}"
 72+    },
 73+    "mpd": {
 74+        "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
 75+        "format-disconnected": "Disconnected ",
 76+        "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
 77+        "unknown-tag": "N/A",
 78+        "interval": 5,
 79+        "consume-icons": {
 80+            "on": " "
 81+        },
 82+        "random-icons": {
 83+            "off": "<span color=\"#f53c3c\"></span> ",
 84+            "on": " "
 85+        },
 86+        "repeat-icons": {
 87+            "on": " "
 88+        },
 89+        "single-icons": {
 90+            "on": "1 "
 91+        },
 92+        "state-icons": {
 93+            "paused": "",
 94+            "playing": ""
 95+        },
 96+        "tooltip-format": "MPD (connected)",
 97+        "tooltip-format-disconnected": "MPD (disconnected)"
 98+    },
 99+    "idle_inhibitor": {
100+        "format": "{icon}",
101+        "format-icons": {
102+            "activated": "",
103+            "deactivated": ""
104+        }
105+    },
106+    "tray": {
107+        // "icon-size": 21,
108+        "spacing": 10
109+    },
110+    "clock": {
111+        // "timezone": "America/New_York",
112+        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
113+        "format-alt": "{:%Y-%m-%d}"
114+    },
115+    "cpu": {
116+        "format": "{usage}% ",
117+        "tooltip": false
118+    },
119+    "memory": {
120+        "format": "{}% "
121+    },
122+    "temperature": {
123+        // "thermal-zone": 2,
124+        // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
125+        "critical-threshold": 80,
126+        // "format-critical": "{temperatureC}°C {icon}",
127+        "format": "{temperatureC}°C {icon}",
128+        "format-icons": ["", "", ""]
129+    },
130+    "backlight": {
131+        // "device": "acpi_video1",
132+        "format": "{percent}% {icon}",
133+        "format-icons": ["", "", "", "", "", "", "", "", ""]
134+    },
135+    "battery": {
136+        "states": {
137+            // "good": 95,
138+            "warning": 30,
139+            "critical": 15
140+        },
141+        "format": "{capacity}% {icon}",
142+        "format-full": "{capacity}% {icon}",
143+        "format-charging": "{capacity}% ",
144+        "format-plugged": "{capacity}% ",
145+        "format-alt": "{time} {icon}",
146+        // "format-good": "", // An empty format will hide the module
147+        // "format-full": "",
148+        "format-icons": ["", "", "", "", ""]
149+    },
150+    "battery#bat2": {
151+        "bat": "BAT2"
152+    },
153+    "power-profiles-daemon": {
154+      "format": "{icon}",
155+      "tooltip-format": "Power profile: {profile}\nDriver: {driver}",
156+      "tooltip": true,
157+      "format-icons": {
158+        "default": "",
159+        "performance": "",
160+        "balanced": "",
161+        "power-saver": ""
162+      }
163+    },
164+    "network": {
165+        // "interface": "wlp2*", // (Optional) To force the use of this interface
166+        "format-wifi": "{essid} ({signalStrength}%) ",
167+        "format-ethernet": "{ipaddr}/{cidr} ",
168+        "tooltip-format": "{ifname} via {gwaddr} ",
169+        "format-linked": "{ifname} (No IP) ",
170+        "format-disconnected": "Disconnected ⚠",
171+        "format-alt": "{ifname}: {ipaddr}/{cidr}"
172+    },
173+    "pulseaudio": {
174+        // "scroll-step": 1, // %, can be a float
175+        "format": "{volume}% {icon} {format_source}",
176+        "format-bluetooth": "{volume}% {icon} {format_source}",
177+        "format-bluetooth-muted": " {icon} {format_source}",
178+        "format-muted": " {format_source}",
179+        "format-source": "{volume}% ",
180+        "format-source-muted": "",
181+        "format-icons": {
182+            "headphone": "",
183+            "hands-free": "",
184+            "headset": "",
185+            "phone": "",
186+            "portable": "",
187+            "car": "",
188+            "default": ["", "", ""]
189+        },
190+        "on-click": "pavucontrol"
191+    },
192+    "custom/media": {
193+        "format": "{icon} {text}",
194+        "return-type": "json",
195+        "max-length": 40,
196+        "format-icons": {
197+            "spotify": "",
198+            "default": "🎜"
199+        },
200+        "escape": true,
201+        "exec": "/usr/share/waybar/custom_modules/mediaplayer.py 2> /dev/null" // Script in resources folder
202+        // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
203+    },
204+    "custom/power": {
205+        "format" : "⏻ ",
206+		"tooltip": false,
207+		"menu": "on-click",
208+		"menu-file": "/usr/share/waybar/custom_modules/power_menu.xml", // Menu file in resources folder
209+		"menu-actions": {
210+			"shutdown": "shutdown",
211+			"reboot": "reboot",
212+			"suspend": "systemctl suspend",
213+			"hibernate": "systemctl hibernate"
214+		}
215+    }
216+}