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 PATH=$BUN_INSTALL/bin:$PATH
export GO_BIN="$HOME/go/bin"
export RUSTC_WRAPPER=sccache
# export PATH=$GO_BIN:$PATH
bind yy fish_clipboard_copy

View File

@ -307,7 +307,7 @@ bindsym $mod+p exec /usr/local/bin/switch-audio-port
## App shortcuts
bindsym $mod+w exec librewolf
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)
bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles
@ -415,7 +415,7 @@ exec --no-startup-id ~/.screenlayout/monitor.sh
# set wallpaper
# 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 && xsetroot -solid '#101010'
# set powersavings for display:
exec --no-startup-id xset s 480 dpms 600 600 600
@ -519,10 +519,10 @@ set $yellowbrown #e1b700
# define colors for windows:
#class border bground text indicator child_border
client.focused $lightblue $darkblue $white $mediumgrey $mediumgrey
client.unfocused $darkblue $darkblue $grey $darkgrey $darkgrey
client.focused_inactive $darkblue $darkblue $grey $black $black
client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
# client.focused $lightblue $darkblue $white $mediumgrey $mediumgrey
# client.unfocused $darkblue $darkblue $grey $darkgrey $darkgrey
# client.focused_inactive $darkblue $darkblue $grey $black $black
# client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
############################################
# bar settings (input comes from i3blocks) #
@ -531,6 +531,7 @@ client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
# Start i3bar to display a workspace bar
# (plus the system information i3status finds out, if available)
bar {
#font pango: Iosevka Term 12
font pango: Iosevka Term 12
status_command i3blocks -c ~/.config/i3/i3blocks.conf
position bottom
@ -548,15 +549,15 @@ bar {
##strip_workspace_name no
colors {
separator $purple
background $black
statusline $white
# separator $purple
# background $black
# statusline $white
# border bg txt indicator
focused_workspace $mediumgrey $grey $darkgrey $purple
active_workspace $lightblue $mediumgrey $darkgrey $purple
inactive_workspace $darkgrey $darkgrey $grey $purple
urgent_workspace $urgentred $urgentred $white $purple
# focused_workspace $mediumgrey $grey $darkgrey $purple
# active_workspace $lightblue $mediumgrey $darkgrey $purple
# inactive_workspace $darkgrey $darkgrey $grey $purple
# urgent_workspace $urgentred $urgentred $white $purple
}
}
@ -612,5 +613,7 @@ bindsym F10 exec rofi -show window \
-config ~/.config/rofi/rofidmenu.rasi
## rofi bindings to manage clipboard (install rofi-greenclip from the AUR)
exec --no-startup-id greenclip daemon>/dev/null
bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \
#exec --no-startup-id greenclip daemon>/dev/null
#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
df -h -P $LOCAL_FLAG "$DIR" | awk -v label="$LABEL" -v alert_low=$ALERT_LOW '
/\/.*/ {
# full text
print label $4

View File

@ -16,3 +16,8 @@ font_size 14.0
# background_opacity 0.9
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"