This commit is contained in:
Dominic 2025-07-20 20:50:57 -04:00
parent e0ba0f32e0
commit 5c67555704
4 changed files with 68 additions and 16 deletions

60
config
View file

@ -61,19 +61,41 @@ bindsym $mod+q kill
# Evergreen Color Scheme 1 # Evergreen Color Scheme 1
# class border bground text indicator child_border # class border bground text indicator child_border
client.focused #83C092 #83C092 #000000 #2E9EF4 #83C092 #client.focused #83C092 #83C092 #000000 #2E9EF4 #83C092
client.focused_inactive #425047 #425047 #FFFFFF #484E50 #5F676A #client.focused_inactive #425047 #425047 #FFFFFF #484E50 #5F676A
client.unfocused #425047 #425047 #AFAFAF #292D2E #222222 #client.unfocused #425047 #425047 #AFAFAF #292D2E #222222
client.urgent #E67E80 #E67E80 #FFFFFF #E67E80 #E67E80 #client.urgent #E67E80 #E67E80 #FFFFFF #E67E80 #E67E80
client.placeholder #3A515D #3A515D #FFFFFF #000000 #0C0C0C #client.placeholder #3A515D #3A515D #FFFFFF #000000 #0C0C0C
#
#client.background #FFFFFF
client.background #FFFFFF # PYWAL COLOR SCHEME -----------------------------
# Set colors from Xresources
# Change 'color7' and 'color2' to whatever colors you want i3 to use
# from the generated scheme.
# NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
# it fails to get colors from Xresources.
set_from_resource $fg i3wm.color7 #f0f0f0
set_from_resource $bg i3wm.color2 #f0f0f0
# class border backgr. text indicator child_border
client.unfocused $bg $bg $bg $bg $bg
client.focused_inactive $fg $fg $fg $fg $fg
client.focused $bg $fg $fg $fg $fg
client.urgent $bg $bg $fg $bg $bg
client.placeholder $bg $bg $fg $bg $bg
client.background $fg
#-------------------------------------------------
# remove title bar and modify border size # remove title bar and modify border size
for_window [class="^.*"] border pixel 5 for_window [class="^.*"] border pixel 3
bindsym $mod+d exec "dmenu_run -nf '#BBBBBB' -nb '#3A515D' -sb '#83C092' -sf '#000000' -fn 'monospace-13' -p 'dmenu'" #bindsym $mod+d exec "dmenu_run -nf '#BBBBBB' -nb '#3A515D' -sb '#83C092' -sf '#000000' -fn 'monospace-15' -p 'dmenu'"
bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop --dmenu="dmenu -nf '#BBBBBB' -nb '#3A515D' -sb '#E67E80' -sf '#000000' -fn 'monospace-13' -p 'dmenu desktop'" #bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop --dmenu="dmenu -nf '#BBBBBB' -nb '#3A515D' -sb '#E67E80' -sf '#000000' -fn 'monospace-13' -p 'dmenu desktop'"
bindsym $mod+d exec "rofi -x11 -show combi"
# start dmenu (a program launcher) # start dmenu (a program launcher)
#bindsym $mod+d exec --no-startup-id dmenu_run #bindsym $mod+d exec --no-startup-id dmenu_run
@ -108,7 +130,7 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right bindsym $mod+Shift+Right move right
# split in horizontal orientation # split in horizontal orientation
#bindsym $mod+h split h bindsym $mod+Shift+v split h
# split in vertical orientation # split in vertical orientation
bindsym $mod+v split v bindsym $mod+v split v
@ -215,10 +237,10 @@ bar {
status_command i3blocks status_command i3blocks
colors { colors {
background #2D353B background #2D353B
statusline #D3C6AA statusline $fg
separator #d699b6 separator $fg
focused_workspace #83C092 #83C092 #000000 focused_workspace $fg $fg #000000
active_workspace #425047 #425047 #FFFFFF active_workspace #425047 #425047 #FFFFFF
inactive_workspace #425047 #425047 #888888 inactive_workspace #425047 #425047 #888888
urgent_workspace #E67E80 #E67E80 #FFFFFF urgent_workspace #E67E80 #E67E80 #FFFFFF
@ -231,8 +253,8 @@ bar {
# } # }
# Gaps # Gaps
gaps inner 30 gaps inner 10
gaps vertical 30 gaps vertical 10
gaps outer 30 gaps outer 30
smart_gaps off smart_gaps off
@ -264,10 +286,12 @@ mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown" {
} }
exec_always xautolock -detectsleep -time 60 -corners ---- -locker i3lock-fancy
bindsym $mod+x mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown" bindsym $mod+x mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown"
# Background # Background
exec_always feh --bg-fill /home/dominic/Pictures/wg/indianpipe.jpg exec_always wal -R
# Open Browser # Open Browser
bindsym $mod+b exec brave-browser bindsym $mod+b exec brave-browser
@ -278,6 +302,9 @@ bindsym $mod+n exec gnome-terminal -x nvim /mnt/server/shared/notes/
bindsym $mod+$alt+h exec gnome-terminal -x nvim /home/dominic/Documents/health_tracker/ bindsym $mod+$alt+h exec gnome-terminal -x nvim /home/dominic/Documents/health_tracker/
bindsym $mod+$alt+b exec $HOME/.config/i3/scripts/use_bookmark.sh
bindsym $mod+$alt+Shift+b exec $HOME/.config/i3/scripts/add_bookmark.sh
# Make the currently focused window a scratchpad # Make the currently focused window a scratchpad
bindsym $mod+Shift+minus move scratchpad bindsym $mod+Shift+minus move scratchpad
@ -290,3 +317,4 @@ bindsym mod4+s [title="^Sup ::"] scratchpad show
# turn on transparency # turn on transparency
exec_always --no-startup-id compton exec_always --no-startup-id compton
bindsym $mod+$alt+e exec $HOME/.config/i3/scripts/event_notify.sh

11
scripts/add_bookmark.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
clipboard=$(xclip -o)
bookmark_file=$HOME/.bookmarks
if grep -q "^$clipboard$" "$bookmark_file"; then
notify-send "Bookmark was already in file!"
else
echo $clipboard >> $bookmark_file
notify-send "Saving Bookmark" "$clipboard"
fi

3
scripts/event_notify.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
notify-send "Events:" "$(cat $HOME/.events)"

10
scripts/use_bookmark.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
dest=$(cat ~/.bookmarks | dmenu -nf '#BBBBBB' -nb '#3A515D' -sb '#83C092' -sf '#000000' -fn 'monospace-16' -l 10 -p "Bookmarks: " | cut -d ' ' -f 2)
if [[ -z "$dest" ]]
then
echo "empty"
else
xdotool type $dest
fi