revert to default i3 colors & change screenshot dir

This commit is contained in:
Mans Ziesel 2024-04-21 17:27:27 +02:00
parent bc1ad369e1
commit 957d34926d
5 changed files with 29 additions and 16 deletions

View File

@ -21,6 +21,7 @@ export PAGER='nvim +Man!'
export BUN_INSTALL="$HOME/.bun" export BUN_INSTALL="$HOME/.bun"
#export PATH=$BUN_INSTALL/bin:$PATH #export PATH=$BUN_INSTALL/bin:$PATH
export GO_BIN="$HOME/go/bin" export GO_BIN="$HOME/go/bin"
export RUSTC_WRAPPER=sccache
# export PATH=$GO_BIN:$PATH # export PATH=$GO_BIN:$PATH
bind yy fish_clipboard_copy bind yy fish_clipboard_copy

View File

@ -307,7 +307,7 @@ bindsym $mod+p exec /usr/local/bin/switch-audio-port
## App shortcuts ## App shortcuts
bindsym $mod+w exec librewolf bindsym $mod+w exec librewolf
bindsym $mod+n exec /usr/bin/thunar bindsym $mod+n exec /usr/bin/thunar
bindsym Print exec scrot ~/%Y-%m-%d-%T-screenshot.png && notify-send "Screenshot saved to ~/$(date +"%Y-%m-%d-%T")-screenshot.png" bindsym Print exec ~/dotfiles/bin/screenshot.sh
# Power Profiles menu switcher (rofi) # Power Profiles menu switcher (rofi)
bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles
@ -415,7 +415,7 @@ exec --no-startup-id ~/.screenlayout/monitor.sh
# set wallpaper # set wallpaper
# exec --no-startup-id sleep 2 && nitrogen --restore # exec --no-startup-id sleep 2 && nitrogen --restore
# exec --no-startup-id sleep 1 && feh --bg-fill /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png # exec --no-startup-id sleep 1 && feh --bg-fill /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png
#exec --no-startup-id sleep 1 && feh --bg-fill /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png exec --no-startup-id sleep 1 && xsetroot -solid '#101010'
# set powersavings for display: # set powersavings for display:
exec --no-startup-id xset s 480 dpms 600 600 600 exec --no-startup-id xset s 480 dpms 600 600 600
@ -519,10 +519,10 @@ set $yellowbrown #e1b700
# define colors for windows: # define colors for windows:
#class border bground text indicator child_border #class border bground text indicator child_border
client.focused $lightblue $darkblue $white $mediumgrey $mediumgrey # client.focused $lightblue $darkblue $white $mediumgrey $mediumgrey
client.unfocused $darkblue $darkblue $grey $darkgrey $darkgrey # client.unfocused $darkblue $darkblue $grey $darkgrey $darkgrey
client.focused_inactive $darkblue $darkblue $grey $black $black # client.focused_inactive $darkblue $darkblue $grey $black $black
client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown # client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
############################################ ############################################
# bar settings (input comes from i3blocks) # # bar settings (input comes from i3blocks) #
@ -531,6 +531,7 @@ client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
# Start i3bar to display a workspace bar # Start i3bar to display a workspace bar
# (plus the system information i3status finds out, if available) # (plus the system information i3status finds out, if available)
bar { bar {
#font pango: Iosevka Term 12
font pango: Iosevka Term 12 font pango: Iosevka Term 12
status_command i3blocks -c ~/.config/i3/i3blocks.conf status_command i3blocks -c ~/.config/i3/i3blocks.conf
position bottom position bottom
@ -548,15 +549,15 @@ bar {
##strip_workspace_name no ##strip_workspace_name no
colors { colors {
separator $purple # separator $purple
background $black # background $black
statusline $white # statusline $white
# border bg txt indicator # border bg txt indicator
focused_workspace $mediumgrey $grey $darkgrey $purple # focused_workspace $mediumgrey $grey $darkgrey $purple
active_workspace $lightblue $mediumgrey $darkgrey $purple # active_workspace $lightblue $mediumgrey $darkgrey $purple
inactive_workspace $darkgrey $darkgrey $grey $purple # inactive_workspace $darkgrey $darkgrey $grey $purple
urgent_workspace $urgentred $urgentred $white $purple # urgent_workspace $urgentred $urgentred $white $purple
} }
} }
@ -612,5 +613,7 @@ bindsym F10 exec rofi -show window \
-config ~/.config/rofi/rofidmenu.rasi -config ~/.config/rofi/rofidmenu.rasi
## rofi bindings to manage clipboard (install rofi-greenclip from the AUR) ## rofi bindings to manage clipboard (install rofi-greenclip from the AUR)
exec --no-startup-id greenclip daemon>/dev/null #exec --no-startup-id greenclip daemon>/dev/null
bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \ #bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \
bindsym $mod+b exec "boomer"

View File

@ -25,6 +25,7 @@ if [ "$1" = "-n" ] || [ "$2" = "-n" ]; then
fi fi
df -h -P $LOCAL_FLAG "$DIR" | awk -v label="$LABEL" -v alert_low=$ALERT_LOW ' df -h -P $LOCAL_FLAG "$DIR" | awk -v label="$LABEL" -v alert_low=$ALERT_LOW '
/\/.*/ { /\/.*/ {
# full text # full text
print label $4 print label $4

View File

@ -16,3 +16,8 @@ font_size 14.0
# background_opacity 0.9 # background_opacity 0.9
background_opacity 1 background_opacity 1
input_delay 0
repaint_delay 2
sync_to_monitor no
wayland_enable_ime no

3
bin/screenshot.sh Executable file
View File

@ -0,0 +1,3 @@
location="$HOME/ocis/Personal/screenshots"
scrot "$location/%Y-%m-%d-%T-screenshot.png" && notify-send "Screenshot saved to $location/$(date +"%Y-%m-%d-%T")-screenshot.png"