Forgot what I did, but it surely needs committing!
This commit is contained in:
parent
606d822aa6
commit
5dbad776a9
@ -35,7 +35,7 @@ URxvt.boldfont: xft:Fura Code Nerd Font Mono:bold:size=8
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
! Give us a nice cursor then
|
! Give us a nice cursor then
|
||||||
Xcursor.theme: Breeze
|
Xcursor.theme: Breeze_Obsidian
|
||||||
Xcursor.size: 16
|
Xcursor.size: 16
|
||||||
|
|
||||||
! -----------------------------------------------------------------------------
|
! -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -59,8 +59,10 @@ assign [class="Wfica_Seamless"] $ws10
|
|||||||
#exec --no-startup-id "i3-msg 'workspace 9:9; append_layout /home/joachim/.config/i3/workspace-9.json'"
|
#exec --no-startup-id "i3-msg 'workspace 9:9; append_layout /home/joachim/.config/i3/workspace-9.json'"
|
||||||
|
|
||||||
# i3-gaps
|
# i3-gaps
|
||||||
gaps inner 10
|
# 10
|
||||||
gaps outer 5
|
gaps inner 0
|
||||||
|
# 5
|
||||||
|
gaps outer 0
|
||||||
|
|
||||||
# Disallow endless looping of focus: extreme right is extreme right, don't flip to extreme left whenever you want...
|
# Disallow endless looping of focus: extreme right is extreme right, don't flip to extreme left whenever you want...
|
||||||
focus_wrapping no
|
focus_wrapping no
|
||||||
@ -449,10 +451,9 @@ exec --no-startup-id greenclip daemon>/dev/null
|
|||||||
|
|
||||||
# GAPS i3-gaps specific things...
|
# GAPS i3-gaps specific things...
|
||||||
# smart gaps: only one window? no gaps!
|
# smart gaps: only one window? no gaps!
|
||||||
# smart_gaps on
|
smart_gaps on
|
||||||
# this removes borders when there's no gaps, nice!
|
# this removes borders when there's no gaps, nice!
|
||||||
# smart_borders on|no_gaps
|
#smart_borders no_gaps
|
||||||
smart_borders no_gaps
|
|
||||||
|
|
||||||
# gruvbox colors
|
# gruvbox colors
|
||||||
set $dark0_hard #1d2021
|
set $dark0_hard #1d2021
|
||||||
|
|||||||
@ -22,3 +22,5 @@ alias dddu="docker-compose down && docker-compose up -d"
|
|||||||
# yank the last command from history into the clipboard
|
# yank the last command from history into the clipboard
|
||||||
alias yk="cat ~/.zsh_history | tail -n 2 | head -n 1 | cut -d ';' -f 2- | xclip -selection clipboard"
|
alias yk="cat ~/.zsh_history | tail -n 2 | head -n 1 | cut -d ';' -f 2- | xclip -selection clipboard"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -72,9 +72,9 @@ background = ${colors.bar-background}
|
|||||||
foreground = ${colors.light0_hard}
|
foreground = ${colors.light0_hard}
|
||||||
;border-color = ${colors.bright_blue}
|
;border-color = ${colors.bright_blue}
|
||||||
border-color = #00FFFFFF
|
border-color = #00FFFFFF
|
||||||
border-left-size = 15
|
border-left-size = 0
|
||||||
border-right-size = 15
|
border-right-size = 0
|
||||||
border-top-size = 5
|
border-top-size = 0
|
||||||
; spaces on begin/end of bar
|
; spaces on begin/end of bar
|
||||||
padding-left = 5
|
padding-left = 5
|
||||||
padding-right = 5
|
padding-right = 5
|
||||||
@ -115,7 +115,7 @@ tray-maxsize = 16
|
|||||||
;tray-background = ${colors.background-alt}
|
;tray-background = ${colors.background-alt}
|
||||||
;this makes sure that the tray doesn't run off to the right of the monitor - only enable this when the bar's width is a bit off
|
;this makes sure that the tray doesn't run off to the right of the monitor - only enable this when the bar's width is a bit off
|
||||||
tray-offset-x = 0
|
tray-offset-x = 0
|
||||||
tray-offset-y = 32
|
tray-offset-y = 27
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
tray-scale = 1.0
|
tray-scale = 1.0
|
||||||
padding-left = 2
|
padding-left = 2
|
||||||
|
|||||||
13
scripts/executable_battery_notification.sh
Normal file
13
scripts/executable_battery_notification.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
export DISPLAY=:0
|
||||||
|
CAPACITY=$(cat /sys/class/power_supply/BAT0/capacity)
|
||||||
|
|
||||||
|
if [[ $CAPACITY -lt 20 ]]
|
||||||
|
then
|
||||||
|
MSG="Battery low: $CAPACITY%";
|
||||||
|
else
|
||||||
|
MSG="Battery high: $CAPACITY%";
|
||||||
|
fi
|
||||||
|
|
||||||
|
/usr/bin/notify-send "$MSG"
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user