mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
Fix: now i3 automatically finds the id of the touchpad, added helping comments to polybar config
This commit is contained in:
+2
-2
@@ -151,8 +151,8 @@ bindsym ctrl + F3 exec amixer set Capture nocap && dunstify -a "Microphone" "Mic
|
|||||||
bindsym ctrl + F4 exec amixer set Capture cap && dunstify -a "Microphone" "Microphone" "Microphone is unmuted" -r 100 -i /usr/local/bin/icons/mic.svg
|
bindsym ctrl + F4 exec amixer set Capture cap && dunstify -a "Microphone" "Microphone" "Microphone is unmuted" -r 100 -i /usr/local/bin/icons/mic.svg
|
||||||
|
|
||||||
# toggle touchpad
|
# toggle touchpad
|
||||||
bindsym ctrl + F9 exec xinput set-prop 15 "Device Enabled" 0 && dunstify -a "Touchpad" "Touchpad" "Touchpad is disabled" -r 100
|
bindsym ctrl + F9 exec xinput set-prop $(xinput list | grep -oP 'Touchpad.*id=\K\d+') "Device Enabled" 0 && dunstify -a "Touchpad" "Touchpad" "Touchpad is disabled" -r 100
|
||||||
bindsym ctrl + F10 exec xinput set-prop 15 "Device Enabled" 1 && dunstify -a "Touchpad" "Touchpad" "Touchpad is enabled" -r 100
|
bindsym ctrl + F10 exec xinput set-prop $(xinput list | grep -oP 'Touchpad.*id=\K\d+') "Device Enabled" 1 && dunstify -a "Touchpad" "Touchpad" "Touchpad is enabled" -r 100
|
||||||
|
|
||||||
# workspaces names
|
# workspaces names
|
||||||
set $ws1 "1"
|
set $ws1 "1"
|
||||||
|
|||||||
@@ -93,6 +93,8 @@ modules-right =
|
|||||||
separator =
|
separator =
|
||||||
|
|
||||||
; Change it for yourself
|
; Change it for yourself
|
||||||
|
; find /sys/devices -name "edid"
|
||||||
|
|
||||||
monitor = HDMI-1
|
monitor = HDMI-1
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
monitor-strict = false
|
monitor-strict = false
|
||||||
@@ -201,6 +203,8 @@ ramp-volume-foreground = ${color.blue}
|
|||||||
type = internal/backlight
|
type = internal/backlight
|
||||||
|
|
||||||
; Change it for yourself
|
; Change it for yourself
|
||||||
|
; ls -1 /sys/class/backlight/
|
||||||
|
|
||||||
card = amdgpu_bl0
|
card = amdgpu_bl0
|
||||||
use-actual-brightness = true
|
use-actual-brightness = true
|
||||||
enable-scroll = true
|
enable-scroll = true
|
||||||
@@ -219,6 +223,8 @@ type = internal/battery
|
|||||||
poll-interval = 2
|
poll-interval = 2
|
||||||
|
|
||||||
; Change it for yourself
|
; Change it for yourself
|
||||||
|
; ls /sys/class/power_supply/
|
||||||
|
|
||||||
battery = BAT1
|
battery = BAT1
|
||||||
adapter = ADP0
|
adapter = ADP0
|
||||||
full-at = 99
|
full-at = 99
|
||||||
@@ -264,6 +270,8 @@ type = internal/date
|
|||||||
interval = 1
|
interval = 1
|
||||||
|
|
||||||
; Change it for yourself
|
; Change it for yourself
|
||||||
|
; https://en.cppreference.com/w/cpp/io/manip/put_time
|
||||||
|
|
||||||
date = %a %d %b
|
date = %a %d %b
|
||||||
time = %H:%M
|
time = %H:%M
|
||||||
date-alt = %A %d %B %Y
|
date-alt = %A %d %B %Y
|
||||||
@@ -423,6 +431,8 @@ toggle-on-foreground = ${color.primary}
|
|||||||
toggle-off-foreground = ${color.red}
|
toggle-off-foreground = ${color.red}
|
||||||
|
|
||||||
; Change it for yourself
|
; Change it for yourself
|
||||||
|
; ls /sys/class/net
|
||||||
|
|
||||||
[module/wired-network]
|
[module/wired-network]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = eth0
|
interface = eth0
|
||||||
@@ -457,6 +467,8 @@ label-connected = "%{A1:networkmanager_dmenu &:} %essid% %downspeed%%{A}"
|
|||||||
label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}"
|
label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}"
|
||||||
|
|
||||||
; Change it for yourself
|
; Change it for yourself
|
||||||
|
; ls /sys/class/net
|
||||||
|
|
||||||
[module/wired-network_stats]
|
[module/wired-network_stats]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = eth0
|
interface = eth0
|
||||||
|
|||||||
Reference in New Issue
Block a user