Git Repos / dotfiles / commit d224ae2
Commit: d224ae2e188fbc122b300d92c319759cf52700a6
Parent: 00123287e44569e776658b130e01ca930b9d62fb
Author: Cameron Vanderzanden, 2022-01-29 13:59
Committer: Cameron Vanderzanden, 2022-01-29 13:59
Commit Message
Upgraded software & that required updating configs CMUS config changes because the build options changed. Upgraded to a much newer version of dunst and that required updates to dunstrc. Switched from eight workspaces to four in herbstluftwm. MPV build options changed, updated that config too. Simplified my tint config a little. Switched from redshift-gtk back to ordinary redshift.
Change List
? | File | Add | Del |
---|---|---|---|
M | bin/aliases.sh | +1 | -1 |
M | config/cmus/rc | +10 | |
M | config/dunst/dunstrc.fix | +16 | -11 |
M | config/herbstluftwm/autostart.fix | +9 | -9 |
M | config/mpv/config.fix | +2 | -1 |
M | config/newsboat/config | +1 | -1 |
M | config/tint2/tint2rc.fix | +7 | -45 |
M | xsession | +2 | -2 |
Diff bin/aliases.sh
diff --git a/bin/aliases.sh b/bin/aliases.sh
index a8a62c9..87edc70 100644
--- a/bin/aliases.sh
+++ b/bin/aliases.sh
@@ -69,6 +69,6 @@ mp3_bug() {
}
blogrep() {
- grep "$@" /z/work/cev/w/_posts/*
+ grep "$@" /z/work/cev/w/_posts/*/*
}
Return to the top of this page or return to the overview of this repo.
Diff config/cmus/rc
diff --git a/config/cmus/rc b/config/cmus/rc
index cb4c2cb..ef29b76 100644
--- a/config/cmus/rc
+++ b/config/cmus/rc
@@ -103,11 +103,21 @@ set format_current=%02n %a / %t%= %3{bpm} %-7c %y %5{duration}
set format_playlist=%02n %a / %t%= %3{bpm} %-7c %y %5{duration}
set format_playlist_va=%02n %A // %a / %t%= %3{bpm} %-7c %y %5{duration}
set format_statusline=%{status} %{?show_playback_position?%{position} %{?duration?/ %{duration} }?%{?duration?%{duration} }}- %{total} %{?volume>=0?vol: %{?lvolume!=rvolume?%{lvolume},%{rvolume} ?%{volume} }} %{?stream?buf: %{buffer} } %{?show_current_bitrate & bitrate>=0? %{bitrate} kbps } %= %{?repeat_current?repeat current?%{?play_library?%{playlist_mode} from %{?play_sorted?sorted }library?playlist}} | %1{continue}%1{follow}%1{repeat}%1{shuffle}
+set format_title=%a / %t
set format_trackwin=%02n %t%= %3{bpm} %-7c %5{duration}
set format_trackwin_album= %l
set format_trackwin_va=%02n %a / %t%= %3{bpm} %-7c %5{duration}
set format_treewin= %l
set format_treewin_artist=%a
+set input.aac.priority=0
+set input.ffmpeg.priority=30
+set input.flac.priority=50
+set input.modplug.priority=0
+set input.mp4.priority=0
+set input.opus.priority=0
+set input.vorbis.priority=0
+set input.wav.priority=0
+set lib_add_filter=!filename="*.zip"&!filename="*.xm"&!filename="*.umx"&!filename="*.s3m"&!filename="*.mtm"&!filename="*.mod"&!filename="*.it"
set lib_sort=albumartist date album discnumber tracknumber
set mouse=true
set replaygain=album-preferred
Return to the top of this page or return to the overview of this repo.
Diff config/dunst/dunstrc.fix
diff --git a/config/dunst/dunstrc.fix b/config/dunst/dunstrc.fix
index adae1b9..1cc8336 100644
--- a/config/dunst/dunstrc.fix
+++ b/config/dunst/dunstrc.fix
@@ -1,41 +1,46 @@
[global]
- # window placement
- # window geometry [{width}]x{height}][+/-{x}+/-{y}]
+ ### window placement ###
follow = mouse
- geometry = "512x8+1392+70"
monitor = 0
- # content placement & behavior
+ ### Geometry ###
+ width = (0, 1024)
+ height = 52
+ origin = top-right
+ offset = 28x121
+ scale = 0
+ #### content placement & behavior ###
alignment = left
icon_position = left
- icon_path = "/z/gfx/icons/Obsidian/Obsidian:/usr/local/share/icons/Faenza"
+ icon_path = "/z/gfx/icons/Obsidian/Obsidian/status/96:/usr/local/share/icons/Faenza-Dark/status/scalable"
idle_threshold = 120
ignore_newline = no
indicate_hidden = yes
line_height = 0
max_icon_size = 32
min_icon_size = 32
+ notification_limit = 0
show_age_threshold = 60
show_indicators = yes
sort = yes
stack_duplicates = true
sticky_history = no
+ text_icon_padding = 0
vertical_alignment = center
word_wrap = no
- # content colors & look
+ ### content colors & look ###
+ ellipsize = middle
font = Inconsolata 24
- format = "%a: %s / %b"
+ format = "%a: %s\n%b"
frame_width = 0
frame_color = "xDK2"
horizontal_padding = 8
- markup = yes
+ markup = full
padding = 8
separator_color = "auto"
separator_height = 0
transparency = 0
- # extraz
+ ### extraz ###
browser = /usr/local/bin/xdg-open
- # dmenu = /usr/local/bin/dmenu -p dunst:
- startup_notification = true
[shortcuts]
# close=mod4+n
Return to the top of this page or return to the overview of this repo.
Diff config/herbstluftwm/autostart.fix
diff --git a/config/herbstluftwm/autostart.fix b/config/herbstluftwm/autostart.fix
index b22e81d..2eca650 100644
--- a/config/herbstluftwm/autostart.fix
+++ b/config/herbstluftwm/autostart.fix
@@ -32,7 +32,7 @@ thirds=0.75 # not really.
# set up tags. "tagnames" variable is a list of tag names seperated by colon.
cvert="clients vertical:0"
-tagnames="F1:F2:F3:F4:F5:F6:F7:F8:F9"
+tagnames="F1:F2:F3:F4"
tagi=1; tagcount="$(nameforidx 0 $tagnames; echo $?)"
hc rename default "$(nameforidx $tagi $tagnames)" 2>/dev/null || true
while [ $tagi -le $tagcount ]; do
@@ -41,6 +41,8 @@ while [ $tagi -le $tagcount ]; do
hc load "$tagname" "(clients max:0)"
hc keybind "$mod-F$tagi" use_index $(($tagi - 1))
hc keybind "$mod-Shift-F$tagi" move_index $(($tagi - 1))
+ hc keybind "$mod-F$(($tagi + 4))" use_index $(($tagi - 1))
+ hc keybind "$mod-Shift-F$(($tagi + 4))" move_index $(($tagi - 1))
tagi=$(($tagi + 1))
done
@@ -132,8 +134,6 @@ hc keybind $mod-KP_Page_Up load "$l_vh_3"
# preload some layouts
hc load "F1" "$l_h_right"
-hc load "F4" "$l_h_left"
-hc load "F5" "$l_v_three"
# mouse bindings
hc mouseunbind --all
@@ -191,7 +191,7 @@ hc attr settings.frame_border_active_color 'xDK2'
hc unrule -F
hc rule focus=off
hc rule class=mpv focus=off pseudotile=off
-hc rule class=XConsole focus=off tag="$(nameforidx 7 $tagnames)" index=0
+hc rule class=XConsole focus=off tag="$(nameforidx 3 $tagnames)" index=0
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off
# windows that should get focus. terminal emulators, image viewers, etc.
hc rule class=Alacritty focus=on
@@ -199,7 +199,7 @@ hc rule class=lximage-qt focus=on
hc rule class=qterminal focus=on
hc rule class=SDL_App focus=on floating=on
hc rule class=Sxiv focus=on
-hc rule class=Vncviewer focus=on tag="$(nameforidx 6 $tagnames)" index=0
+hc rule class=Vncviewer focus=on tag="$(nameforidx 2 $tagnames)" index=0
hc rule class=xterm-256color focus=on
hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on
hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on
@@ -207,10 +207,10 @@ hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on
hc rule class~'(.*[Ee][Xx][Ee])' floating=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' floating=on
# web browsers
-hc rule class=Chromium-browser focus=off tag="$(nameforidx 8 $tagnames)"
-hc rule class=Falkon focus=off tag="$(nameforidx 8 $tagnames)"
-hc rule class=Navigator focus=off tag="$(nameforidx 8 $tagnames)"
-hc rule class=QupZilla focus=off tag="$(nameforidx 8 $tagnames)"
+hc rule class=Chromium-browser focus=off tag="$(nameforidx 4 $tagnames)"
+hc rule class=Falkon focus=off tag="$(nameforidx 4 $tagnames)"
+hc rule class=Navigator focus=off tag="$(nameforidx 4 $tagnames)"
+hc rule class=QupZilla focus=off tag="$(nameforidx 4 $tagnames)"
# final setup
hc unlock
Return to the top of this page or return to the overview of this repo.
Diff config/mpv/config.fix
diff --git a/config/mpv/config.fix b/config/mpv/config.fix
index 8c0af60..3db97d4 100644
--- a/config/mpv/config.fix
+++ b/config/mpv/config.fix
@@ -2,8 +2,9 @@
alpha=no
audio-samplerate=48000
background='xBASE00'
-bluray-device=/dev/cd0
+# bluray-device=/dev/cd0
# profile=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossharp:blend-subtitles=yes
+embeddedfonts=yes
msg-level=ao/oss=fatal
opengl-swapinterval=1
osd-font=DejaVu Sans
Return to the top of this page or return to the overview of this repo.
Diff config/newsboat/config
diff --git a/config/newsboat/config b/config/newsboat/config
index 1e08ab6..c21edeb 100644
--- a/config/newsboat/config
+++ b/config/newsboat/config
@@ -1,6 +1,6 @@
bind-key j down
bind-key k up
-browser "/usr/local/bin/falkon -t %u"
+browser "/usr/local/bin/falkon %u"
color article white default
color background white default
color info black black bold
Return to the top of this page or return to the overview of this repo.
Diff config/tint2/tint2rc.fix
diff --git a/config/tint2/tint2rc.fix b/config/tint2/tint2rc.fix
index a7b1505..98ff0fe 100644
--- a/config/tint2/tint2rc.fix
+++ b/config/tint2/tint2rc.fix
@@ -102,7 +102,7 @@ border_color_pressed = xDK0h 80
#--------------------------------------
# Panel
-panel_items = PPPTFSPP
+panel_items = PTFSP
panel_position = center left vertical
panel_size = 1080 64
panel_margin = 0 0
@@ -140,41 +140,16 @@ button_rclick_command = /usr/local/bin/jgmenu_run
button_tooltip = FreeBSD
#--------------------------------------
-# Button 2 (herbstluftwm button)
-button = new
-button_icon = /z/gfx/icons/herbstluftwm64.png
-button_text =
-button_background_id = 0
-button_padding = 0 0 2
-button_max_icon_size = 64
-button_lclick_command = /usr/local/bin/herbstclient use_previous
-button_rclick_command = /usr/local/bin/herbstclient cycle_monitor
-button_uwheel_command = /usr/local/bin/herbstclient use_index +1 --skip-visible
-button_dwheel_command = /usr/local/bin/herbstclient use_index -1 --skip-visible
-button_tooltip = herbstclient Tag
-
-#--------------------------------------
-# Button 3 (Terminal button)
-button = new
-button_icon = utilities-terminal
-button_text =
-button_background_id = 0
-button_padding = 0 0 2
-button_max_icon_size = 64
-button_lclick_command = /home/cev/bin/xvt.sh
-button_tooltip = ST Terminal Emulator
-
-#--------------------------------------
# Taskbar
-taskbar_mode = single_desktop
+taskbar_mode = multi_desktop
taskbar_active_background_id = 0
taskbar_background_id = 0
taskbar_padding = 0 0 2
taskbar_always_show_all_desktop_tasks = 0
-taskbar_distribute_size = 0
+taskbar_distribute_size = 1
taskbar_hide_different_monitor = 0
taskbar_hide_different_desktop = 0
-taskbar_hide_if_empty = 1
+taskbar_hide_if_empty = 0
taskbar_hide_inactive_tasks = 0
taskbar_name = 1
taskbar_name_padding = 2 2
@@ -198,9 +173,9 @@ task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 320
task_background_id = 5
-task_icon_asb = 100 0 -13
+task_icon_asb = 100 -10 -10
task_active_background_id = 5
-task_active_icon_asb = 100 0 0
+task_active_icon_asb = 100 10 10
task_urgent_background_id = 6
task_urgent_icon_asb = 100 0 0
task_iconified_background_id = 7
@@ -222,7 +197,7 @@ systray_monitor = 1
systray_name_filter =
#--------------------------------------
-# Button 5 (lock screen button)
+# Button 2 (lock screen button)
button = new
button_icon = /z/gfx/icons/Obsidian/Obsidian/apps/96/xscreensaver.svg
button_text =
@@ -234,19 +209,6 @@ button_rclick_command = /usr/local/bin/xscreensaver-demo
button_tooltip = xscreensaver Lock
#--------------------------------------
-# Button 6 (logout button)
-button = new
-button_icon = /z/gfx/icons/Obsidian/Obsidian/actions/96/system-log-out.svg
-button_text =
-button_background_id = 0
-button_padding = 0 0 2
-button_max_icon_size = 64
-button_lclick_command = /usr/local/bin/herbstclient reload
-button_mclick_command = /usr/local/bin/herbstclient quit
-button_rclick_command = /usr/local/bin/herbstclient reload
-button_tooltip = herbstclient Quit
-
-#--------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
Return to the top of this page or return to the overview of this repo.
Diff xsession
diff --git a/xsession b/xsession
index 72e0f1c..07e6705 100644
--- a/xsession
+++ b/xsession
@@ -14,8 +14,8 @@ xsetroot -cursor_name left_ptr # nicer cursor
xscreensaver -no-splash & # I like xscreensaver
picom & # transparency
dunst & # notifications
-redshift-gtk & # automated screen color temperature
-conky & # system stats monitor
+redshift & # automated screen color temperature
+~/.local/bin/conky & # system stats monitor
qlipper & # clipboard manager
exec /usr/local/bin/herbstluftwm
Return to the top of this page or return to the overview of this repo.