diff --git a/dot_config/doom/packages.el b/dot_config/doom/packages.el index ec470e8..65507d5 100644 --- a/dot_config/doom/packages.el +++ b/dot_config/doom/packages.el @@ -77,3 +77,5 @@ (package! yaml-mode) ; enable ripgrep (package! ripgrep) +; enable dockerfile major mode +(package! dockerfile-mode) diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index 2691a05..3f48cb3 100644 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -35,8 +35,8 @@ set $ws7 "7:7" set $ws8 "8:8" set $ws9 "9:9" set $ws10 "10:10" -set $wsleft "11:" -set $wsright "12:" +set $wsleft "11:" +set $wsright "12:" # automatically assign programs to workspace # using workspace names here, otherwise doesn't work as expected @@ -108,7 +108,7 @@ bindsym $mod+c exec rofi -modi "clipboard:greenclip print" -show clipboard -run- # do a nice menu with mode # 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" { 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" diff --git a/dot_config/polybar/config.tmpl b/dot_config/polybar/config.tmpl index c2dd94b..b995d83 100644 --- a/dot_config/polybar/config.tmpl +++ b/dot_config/polybar/config.tmpl @@ -1,4 +1,7 @@ -; +;Symbols +;▁▂▃▄▅▆▇█ +; + ;===================================================== ; ; To learn more about how to configure Polybar @@ -8,7 +11,7 @@ ; ;===================================================== [colors] -# gruvbox colors +;gruvbox colors dark0_hard = #1d2021 dark0 = #282828 dark0_soft = #32302f @@ -47,10 +50,10 @@ faded_purple = #8f3f71 faded_aqua = #427b58 faded_orange = #af3a03 -# want to get colors from xrdb / .Xresources? -# background = ${xrdb:color0:#222} -# bar-background = #00FFFFFF -# ARGB +;want to get colors from xrdb / .Xresources? +;background = ${xrdb:color0:#222} +;bar-background = #00FFFFFF +;ARGB bar-background = #dd1d2021 [bar/general] @@ -139,7 +142,7 @@ monitor = ${env:MONITOR:eDP-1} ;unused modules - mpd xbacklight backlight-acpi alsa modules-right = pulseaudio modules-center = player-mpris-tail -modules-left = date info-hackspeed +modules-left = date padding-left = 2 padding-right = 2 @@ -160,12 +163,12 @@ format-prefix = "%{T2}󱣾%{T-} " format-prefix-foreground = ${colors.bright_green} interval = 5 -[module/info-hackspeed] -type = custom/script -format-prefix = " " -format-prefix-foreground = ${colors.bright_green} -exec = ~/.config/polybar/polybar-scripts/info-hackspeed/info-hackspeed.sh -tail = true +;[module/info-hackspeed] +;type = custom/script +;format-prefix = " " +;format-prefix-foreground = ${colors.bright_green} +;exec = ~/.config/polybar/polybar-scripts/info-hackspeed/info-hackspeed.sh +;tail = true [module/obelisk-status] type = custom/script @@ -195,8 +198,9 @@ label = %title:0:30:...% [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock -format-prefix = "%{T2}%{T-} " +format-prefix = " " format-prefix-foreground = ${colors.bright_green} +format-prefix-font = 2 ;format-prefix-underline = ${colors.underline-keyboard} ; layout, number, name label-layout = %layout% @@ -218,8 +222,8 @@ format-prefix-foreground = ${colors.light0} [module/filesystem] type = internal/fs -interval = 25 +; Mountpoints to display ; mounts differ depending on the machine ; need to include comments in each of the options: template swallows newlines {{- if eq .chezmoi.hostname "dome" }} @@ -233,14 +237,83 @@ mount-1 = /mnt/ext4 {{ else if eq .chezmoi.hostname "jnielandt" -}} ; only root mount-0 = / +{{ else if eq .chezmoi.hostname "nielanjo" -}} +; only root +mount-0 = / {{- end }} -;label-mounted = %{F#0a81f5}%mountpoint%%{F-} %percentage_used%% -;#b8bb26 -label-mounted = %{F#b8bb26}%mountpoint%%{F-} %percentage_used%% +; Seconds to sleep between updates +; Default: 30 +interval = 10 + +; Display fixed precision values +; Default: false +fixed-values = true + +; Spacing (number of spaces, pixels, points) between entries +; Default: 2 +spacing = 4 + +; Default: 90 +; New in version 3.6.0 +warn-percentage = 75 + +; Available tags: +; (default) +; +; +; +format-mounted = + +format-mounted-prefix = "󰋊 " +format-mounted-prefix-foreground = ${colors.bright_green} + +; Available tags: +; (default) +format-unmounted = + +; Format used when mountpoint %percentage_used% reaches warn-percentage +; If not defined, format-mounted is used instead. +; Available tags: +; +; +; +; +; New in version 3.6.0 +; format-warn = + +; Available tokens: +; %mountpoint% +; %type% +; %fsname% +; %percentage_free% +; %percentage_used% +; %total% +; %free% +; %used% +; Default: %mountpoint% %percentage_free%% +label-mounted = %mountpoint% %percentage_used%% label-mounted-foreground = ${colors.bright_green} -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.faded_green} + +; Available tokens: +; %mountpoint% +; Default: %mountpoint% is not mounted +label-unmounted = %mountpoint%: not mounted +label-unmounted-foreground = ${colors.bright_orange} + +; Available tokens: +; %mountpoint% +; %type% +; %fsname% +; %percentage_free% +; %percentage_used% +; %total% +; %free% +; %used% +; Default: %mountpoint% %percentage_free%% +; New in version 3.6.0 +; label-warn = %mountpoint%: WARNING + [module/bspwm] type = internal/bspwm @@ -265,78 +338,129 @@ label-empty-padding = 2 ; label-separator = | - [module/i3] type = internal/i3 -format = -index-sort = true -wrapping-scroll = false -; Only show workspaces on the same output as the bar +; Only show workspaces defined on the same output as the bar +; +; Useful if you want to show monitor specific workspaces +; on different bars +; +; Default: false pin-workspaces = true +; Show urgent workspaces regardless of whether the workspace is actually hidden +; by pin-workspaces. +; +; Default: false +; New in version 3.6.0 +show-urgent = true + ; This will split the workspace name on ':' ; Default: false strip-wsnumbers = true -;bright_red = #fb4934 -;bright_green = #b8bb26 -;bright_yellow = #fabd2f -;bright_blue = #83a598 -;bright_purple = #d3869b -;bright_aqua = #8ec07c -;bright_orange = #fe8019 -;ws-icon-1 = 1:1;%{B#b58900}1%{B-} -;ws-icon-0 = 1:1;%{F#db4934}%{F-} -;ws-icon-1 = 2:2;%{F#b8bb26}%{F-} -;ws-icon-2 = 3:3;%{F#fabd2f}%{F-} -;ws-icon-3 = 4:4;%{F#83a598}%{F-} -;ws-icon-4 = 5:5;%{F#d3869b}%{F-} -;ws-icon-4 = 5:5; -;ws-icon-5 = 6:6; -;ws-icon-6 = 7:7; -;ws-icon-7 = 8:8; -;ws-icon-8 = 9:9;﬐ -;ws-icon-9 = 10:10; -;ws-icon-10 = 11:; -;ws-icon-11 = 12:; -ws-icon-default = ﱤ +; Sort the workspaces by index instead of the default +; sorting that groups the workspaces by output +; Default: false +index-sort = true -; mode menu styling +; Create click handler used to focus workspace +; Default: true +enable-click = true + +; Create scroll handlers used to cycle workspaces +; Default: true +enable-scroll = true + +; Wrap around when reaching the first/last workspace +; Default: true +wrapping-scroll = false + +; Set the scroll cycle direction +; Default: true +reverse-scroll = false + +; Use fuzzy (partial) matching on labels when assigning +; icons to workspaces +; Example: code;♚ will apply the icon to all workspaces +; containing 'code' in the label +; Default: false +fuzzy-match = true + +; ws-icon-[0-9]+ =