Fixed minor things.

This commit is contained in:
Joachim Nielandt 2023-05-06 08:53:03 +02:00
parent 4df385648b
commit 8f7e680e92
4 changed files with 92 additions and 29 deletions

View File

@ -43,8 +43,8 @@
;; ;;
;; (font-spec :family "Fira Sans") ; nice, but not mono ;; (font-spec :family "Fira Sans") ; nice, but not mono
(setq doom-font (font-spec :family "Hasklug Nerd Font Mono") (setq doom-font (font-spec :family "Hasklug Nerd Font Mono")
;; doom-unicode-font (font-spec :family "Hasklug Nerd Font Mono")) doom-unicode-font (font-spec :family "Hasklug Nerd Font Mono"))
doom-variable-pitch-font (font-spec :family "Fira Sans")) ;; doom-variable-pitch-font (font-spec :family "Fira Sans")
;; This determines the style of line numbers in effect. If set to `nil', line ;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'. ;; numbers are disabled. For relative line numbers, set this to `relative'.

View File

@ -104,9 +104,11 @@ bindsym $mod+d exec ~/.config/rofi/runrofi.sh
# this uses the output of greenclip (see here https://wiki.archlinux.org/index.php/Greenclip) to show clipboard history in rofi # this uses the output of greenclip (see here https://wiki.archlinux.org/index.php/Greenclip) to show clipboard history in rofi
bindsym $mod+c exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' bindsym $mod+c exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
# symbols 
# do a nice menu with mode # do a nice menu with mode
# lock / logout / sleep / hibernate / restart / poweroff # lock / logout / sleep / hibernate / restart / poweroff
set $mode_system System  l e s鈴 h rﰇ sﮤ set $mode_system System  l e s鈴 h rﰇ sﮤ
mode "$mode_system" { mode "$mode_system" {
bindsym l exec --no-startup-id ~/.config/i3/i3exit.sh lock, mode "default" bindsym l exec --no-startup-id ~/.config/i3/i3exit.sh lock, mode "default"
bindsym e exec --no-startup-id ~/.config/i3/i3exit.sh logout, mode "default" bindsym e exec --no-startup-id ~/.config/i3/i3exit.sh logout, mode "default"

View File

@ -39,6 +39,8 @@ export MANPATH="/usr/local/man:$MANPATH"
#export PATH=$HOME/.emacs.d/bin:$PATH #export PATH=$HOME/.emacs.d/bin:$PATH
export PATH=$HOME/.config/emacs/bin:$PATH export PATH=$HOME/.config/emacs/bin:$PATH
export PATH=/home/joachim/.local/share/gem/ruby/3.0.0/bin:$PATH
# add my own scripts to the path # add my own scripts to the path
export PATH=$HOME/scripts:$PATH export PATH=$HOME/scripts:$PATH

View File

@ -85,9 +85,9 @@ padding-right = 5
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 ;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1" ;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1"
;font-0 = FuraCode Nerd Font:pixelsize=11;1 ;font-0 = FuraCode Nerd Font:pixelsize=11;1
font-0 = Hasklug Nerd Font:pixelsize=9;1 font-0 = Hasklug Nerd Font Mono:pixelsize=9;1
;font-1 = Siji:style=Regular:pixelsize=11 ;font-1 = Siji:style=Regular:pixelsize=11
font-1 = Siji:pixelsize=14;0 ;font-1 = Siji:pixelsize=14;0
; override pointers ; override pointers
cursor-click = pointer cursor-click = pointer
cursor-scroll = pointer cursor-scroll = pointer
@ -401,7 +401,7 @@ label = %percentage-cores%
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 2 interval = 2
format-prefix = " " format-prefix = "󰍛 "
format-prefix-foreground = ${colors.bright_green} format-prefix-foreground = ${colors.bright_green}
;format-underline = #4bffdc ;format-underline = #4bffdc
;format-underline = ${colors.underline-memory} ;format-underline = ${colors.underline-memory}
@ -443,7 +443,9 @@ label = ""
[module/wifi0] [module/wifi0]
type = internal/network type = internal/network
interval = 3.0 ; Name of the network interface to display. You can get the names of the
; interfaces on your machine with `ip link`
; Wireless interfaces often start with `wl` and ethernet interface with `eno` or `eth`
{{- if eq .chezmoi.hostname "dome" }} {{- if eq .chezmoi.hostname "dome" }}
interface = wlp3s0 interface = wlp3s0
{{- else if eq .chezmoi.hostname "jnielandt" }} {{- else if eq .chezmoi.hostname "jnielandt" }}
@ -454,36 +456,93 @@ interface = wlan0
interface = wifi0 interface = wifi0
{{- end }} {{- end }}
format-connected = <ramp-signal> <label-connected> ; Seconds to sleep between updates
;format-connected-underline = ${colors.bright_green} ; Default: 1
;label-connected = %{A1:networkmanager_dmenu:}%essid%%{A} interval = 3.0
;  
label-connected = "%{A1:networkmanager_dmenu:}%essid%%{A} %{F#b8bb26}%{F-} %downspeed:3% %{F#b8bb26}%{F-} %upspeed:3%"
format-disconnected = ; Test connectivity every Nth update
;format-disconnected = <label-disconnected> ; A value of 0 disables the feature
;format-disconnected-underline = ${self.format-connected-underline} ; NOTE: Experimental (needs more testing)
;label-disconnected = %ifname% disconnected ; Default: 0
;label-disconnected-foreground = ${colors.bright_green} ;ping-interval = 3
; label that differs in signal strength ; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%)
; these are siji symbols, don't render properly here ; Minimum output width of upload/download rate
ramp-signal-0 = "%{T2}%{T-}" ; Default: 3
ramp-signal-1 = "%{T2}%{T-}" udspeed-minwidth = 5
ramp-signal-2 = "%{T2}%{T-}"
ramp-signal-3 = "%{T2}%{T-}"
ramp-signal-4 = "%{T2}%{T-}"
ramp-signal-foreground = ${colors.bright_green}
; Accumulate values from all interfaces ; Accumulate values from all interfaces
; when querying for up/downspeed rate ; when querying for up/downspeed rate
; Default: false ; Default: false
accumulate-stats = false accumulate-stats = true
; Consider an `UNKNOWN` interface state as up. ; Consider an `UNKNOWN` interface state as up.
; Some devices like USB network adapters have ; Some devices like USB network adapters have
; an unknown state, even when they're running ; an unknown state, even when they're running
; Default: false ; Default: false
unknown-as-up = false unknown-as-up = true
; The unit used for displaying network speeds
; For example if set to the empty string, a speed of 5 KB/s is displayed as 5 K
; Default: B/s
; New in version 3.6.0
speed-unit =
; Available tags:
; <label-connected> (default)
; <ramp-signal>
format-connected = <ramp-signal> <label-connected>
; Available tags:
; <label-disconnected> (default)
format-disconnected = <label-disconnected>
; Available tags:
; <label-connected> (default)
; <label-packetloss>
; <animation-packetloss>
format-packetloss = <animation-packetloss> <label-connected>
; 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)
; Default: %ifname% %local_ip%
label-connected = %essid% 󰄼%downspeed:3% 󰄿%upspeed:3%
label-connected-foreground = #eefafa
; Default: (none)
label-disconnected = not connected
label-disconnected-foreground = #66ffff
; Default: (none)
label-packetloss = %essid%
label-packetloss-foreground = #eefafafa
; Only applies if <ramp-signal> is used
ramp-signal-0 = 󰤫
ramp-signal-1 = 󰤟
ramp-signal-2 = 󰤢
ramp-signal-3 = 󰤥
ramp-signal-4 = 󰤨
ramp-signal-5 = 󰤨
ramp-signal-foreground = ${colors.bright_green}
; Only applies if <animation-packetloss> is used
animation-packetloss-0 = ⚠
animation-packetloss-0-foreground = ${colors.bright_red}
animation-packetloss-1 = 📶
animation-packetloss-1-foreground = #000000
; Framerate in milliseconds
animation-packetloss-framerate = 500
[module/net] [module/net]
type = internal/network type = internal/network