Compare commits
6 Commits
6f0bdd72b3
...
0cb140bfdd
Author | SHA1 | Date | |
---|---|---|---|
|
0cb140bfdd | ||
|
d0ac25ce86 | ||
|
72c9da1463 | ||
|
c74f5ffd1f | ||
|
6672a9d253 | ||
|
56fe3e02f5 |
@ -1,3 +1,4 @@
|
||||
encryption = "age"
|
||||
[edit]
|
||||
command = "nvim"
|
||||
|
||||
|
@ -188,8 +188,10 @@ bindsym XF86TouchpadToggle resize shrink height 10 px
|
||||
bindsym XF86TouchpadOn resize grow height 10 px
|
||||
|
||||
{{ if eq .chezmoi.hostname "buzz" }}
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +2
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -2
|
||||
#bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +2
|
||||
#bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -2
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id doas light -A 0.1
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id doas light -U 0.1
|
||||
{{ end }}
|
||||
|
||||
bindsym $m+bracketleft move left; resize set width 20 ppt
|
||||
|
@ -26,7 +26,7 @@ bottom = false
|
||||
{{- if eq .chezmoi.hostname "arch" }}
|
||||
monitor = DP-2
|
||||
{{- else if eq .chezmoi.hostname "buzz" }}
|
||||
monitor = eDP1
|
||||
monitor = eDP-1
|
||||
{{- end }}
|
||||
width = 100%
|
||||
height = 16
|
||||
@ -65,7 +65,7 @@ modules-right = pueue filesystem temp cpu memory eth-down eth-up ipv6 ollama caf
|
||||
{{- else if eq .chezmoi.hostname "buzz" }}
|
||||
modules-left = i3 xwindow
|
||||
modules-center = date
|
||||
modules-right = filesystem temp cpu memory battery tray
|
||||
modules-right = wired-network wireless-network filesystem temp cpu memory battery tray
|
||||
{{- end }}
|
||||
|
||||
|
||||
@ -109,6 +109,52 @@ adapter = AC
|
||||
;
|
||||
; Default: 5
|
||||
poll-interval = 5
|
||||
|
||||
[module/wired-network]
|
||||
; All labels support the following tokens:
|
||||
; %ifname% [wireless+wired]
|
||||
; %local_ip% [wireless+wired]
|
||||
; %local_ip6% [wireless+wired]
|
||||
; %essid% [wireless]
|
||||
; %signal% [wireless]
|
||||
; %upspeed% [wireless+wired]
|
||||
; %downspeed% [wireless+wired]
|
||||
; %netspeed% [wireless+wired] (%upspeed% + %downspeed%) (New in version 3.6.0)
|
||||
; %linkspeed% [wired]
|
||||
; %mac% [wireless+wired] (New in version 3.6.0)
|
||||
|
||||
label-connected = %local_ip%
|
||||
label-connected-foreground = #ccc
|
||||
label-disconnected = x
|
||||
label-disconnected-foreground = #666666
|
||||
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
type = internal/network
|
||||
interface = enp3s0
|
||||
|
||||
[module/wireless-network]
|
||||
; All labels support the following tokens:
|
||||
; %ifname% [wireless+wired]
|
||||
; %local_ip% [wireless+wired]
|
||||
; %local_ip6% [wireless+wired]
|
||||
; %essid% [wireless]
|
||||
; %signal% [wireless]
|
||||
; %upspeed% [wireless+wired]
|
||||
; %downspeed% [wireless+wired]
|
||||
; %netspeed% [wireless+wired] (%upspeed% + %downspeed%) (New in version 3.6.0)
|
||||
; %linkspeed% [wired]
|
||||
; %mac% [wireless+wired] (New in version 3.6.0)
|
||||
|
||||
label-connected = %local_ip%
|
||||
label-connected-foreground = #ccc
|
||||
label-disconnected = x
|
||||
label-disconnected-foreground = #666666
|
||||
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
type = internal/network
|
||||
interface = wlan0
|
||||
{{ end }}
|
||||
|
||||
[module/pueue]
|
||||
|
@ -159,6 +159,10 @@ if type -q hledger;
|
||||
set -x LEDGER_FILE "$HOME/vc/accounting/hledger/main.journal"
|
||||
end
|
||||
|
||||
if type -q zoxide
|
||||
set -x _ZO_FZF_OPTS "-1"
|
||||
end
|
||||
|
||||
{{- if (and (eq .chezmoi.os "linux") (eq .hosttype "desktop" "laptop")) }}
|
||||
if test -d "$XDG_DATA_HOME/flatpak/exports/bin"
|
||||
set -ax PATH "$XDG_DATA_HOME/flatpak/exports/bin"
|
||||
|
@ -136,27 +136,27 @@ bind -T off M-q \
|
||||
|
||||
|
||||
|
||||
#######################
|
||||
# Plugins
|
||||
#######################
|
||||
|
||||
## List of plugins
|
||||
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CACHE_HOME/tmux/plugins"
|
||||
|
||||
# Tmux Plugin Manager
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
|
||||
set -g @plugin 'wfxr/tmux-fzf-url'
|
||||
|
||||
set -g @plugin 'fcsonline/tmux-thumbs'
|
||||
set -g @thumbs-contrast 4
|
||||
set -g @thumbs-bg-color 'black'
|
||||
set -g @thumbs-fg-color 'yellow'
|
||||
set -g @thumbs-hint-fg-color 'red'
|
||||
set -g @thumbs-hint-bg-color 'black'
|
||||
set -g @thumbs-position 'right'
|
||||
set -g @thumbs-command 'echo -n {} | xsel -ib'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run -b "$XDG_CACHE_HOME/tmux/plugins/tpm/tpm"
|
||||
########################
|
||||
## Plugins
|
||||
########################
|
||||
#
|
||||
### List of plugins
|
||||
#set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CACHE_HOME/tmux/plugins"
|
||||
#
|
||||
## Tmux Plugin Manager
|
||||
#set -g @plugin 'tmux-plugins/tpm'
|
||||
#
|
||||
#set -g @plugin 'wfxr/tmux-fzf-url'
|
||||
#
|
||||
#set -g @plugin 'fcsonline/tmux-thumbs'
|
||||
#set -g @thumbs-contrast 4
|
||||
#set -g @thumbs-bg-color 'black'
|
||||
#set -g @thumbs-fg-color 'yellow'
|
||||
#set -g @thumbs-hint-fg-color 'red'
|
||||
#set -g @thumbs-hint-bg-color 'black'
|
||||
#set -g @thumbs-position 'right'
|
||||
#set -g @thumbs-command 'echo -n {} | xsel -ib'
|
||||
#
|
||||
## Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
#run -b "$XDG_CACHE_HOME/tmux/plugins/tpm/tpm"
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user