diff --git a/.config/i3/config b/.config/i3/config index c234107..5efc649 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -11,13 +11,32 @@ gaps outer 15 font pango:TamzenForPowerline 12 set $mod Mod4 set $term urxvtc -set $coloract "#ff923b" -set $colorin "#5E81AC" -set_from_resource $color15 i3wm.color15 "#2A1A17" -set_from_resource $split i3wm.color10 "#7B8349" -set_from_resource $coloru i3wm.color2 "#7B8349" -set_from_resource $color0 i3wm.color0 "#fbf8f1" -set_from_resource $color8 i3wm.color8 "#8a8061" +#set $coloract "#ff923b" +#set $colorin "#5E81AC" +#set_from_resource $color15 i3wm.color15 "#2A1A17" +#set_from_resource $split i3wm.color10 "#7B8349" +#set_from_resource $coloru i3wm.color2 "#7B8349" +#set_from_resource $color0 i3wm.color0 "#fbf8f1" +#set_from_resource $color8 i3wm.color8 "#8a8061" + +# Set Xresources colors: +set_from_resource $darkblack color0 #000000 +set_from_resource $black color8 #000000 +set_from_resource $darkred color1 #000000 +set_from_resource $red color9 #000000 +set_from_resource $darkgreen color2 #000000 +set_from_resource $green color10 #000000 +set_from_resource $darkyellow color3 #000000 +set_from_resource $yellow color11 #000000 +set_from_resource $darkblue color4 #000000 +set_from_resource $blue color12 #000000 +set_from_resource $darkmagenta color5 #000000 +set_from_resource $magenta color13 #000000 +set_from_resource $darkcyan color6 #000000 +set_from_resource $cyan color14 #000000 +set_from_resource $darkwhite color7 #000000 +set_from_resource $white color15 #000000 +set $transparent #00000000 # Use Mouse+$mod to drag floating windows floating_modifier $mod @@ -33,13 +52,18 @@ bindsym $mod+Shift+c sticky toggle ######### COLORS ########## # # class border backgr text indicator child_border -client.focused $coloract $coloract $color15 $split $coloract -client.focused_inactive $coloract $coloract $color15 $split $coloract -client.unfocused $colorin $colorin $color15 $split $colorin -client.urgent $coloru $coloru $color15 $coloru $coloru -client.placeholder $color0 $color8 $color15 $color0 $color8 -client.background $color0 - +#client.focused $coloract $coloract $color15 $split $coloract +#client.focused_inactive $coloract $coloract $color15 $split $coloract +#client.unfocused $colorin $colorin $color15 $split $colorin +#client.urgent $coloru $coloru $color15 $coloru $coloru +#client.placeholder $color0 $color8 $color15 $color0 $color8 +#client.background $color0 +# BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER +client.focused $red $red $magenta $darkmagenta $darkblue +client.unfocused $transparent $blue $white $darkblue $darkblack +client.focused_inactive $transparent $blue $white $darkblue $darkblack +client.urgent $darkred $darkred $black $darkred $darkred +client.background $black ###---Starting External Scripts---### #Twmn @@ -134,11 +158,14 @@ bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle bindsym $mod+Escape workspace prev -bindsym $mod+Shift+Escape exec i3-msg exit +bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit" bindsym $mod+BackSpace exec $flash bindsym $mod+Shift+BackSpace exec ~/.config/Scripts/power-menu.sh +# Show selection: +bindsym $mod+Insert exec --no-startup-id showclip + #STOP/HIDE EVERYTHING: bindsym $mod+Shift+Delete exec $truemute ; exec $truepause ; workspace lmao ; exec $term -e htop ; exec $term -e ranger @@ -300,18 +327,11 @@ for_window [instance="^package-update$" class="^URxvt$"] floating enable, move p ###---Function Buttons---### -bindsym $mod+F1 exec --no-startup-id mupdf ~/.config/i3/i3_guide.md.pdf -bindsym $mod+F2 exec --no-startup-id python ~/.config/Scripts/shortcuts.py -bindsym $mod+F3 exec --no-startup-id arandr -bindsym $mod+F4 exec --no-startup-id sudo systemctl hibernate -bindsym $mod+F5 exec --no-startup-id sudo systemctl restart NetworkManager -bindsym $mod+F6 exec --no-startup-id sudo systemctl --user restart wallpaper.service -bindsym $mod+F7 exec transset -a --dec .15 -bindsym $mod+F8 exec transset -a --inc .15 -bindsym $mod+F9 exec --no-startup-id sudo mount -a -bindsym $mod+F10 exec --no-startup-id ~/.config/polybar/launch.sh -bindsym $mod+F11 exec --no-startup-id ~/.config/Scripts/screen.sh v ;; exec --no-startup-id ~/.config/polybar/launch.sh -bindsym $mod+F12 exec --no-startup-id ~/.config/Scripts/screen.sh d ;; exec --no-startup-id ~/.config/polybar/launch.sh +bindsym $mod+F1 exec --no-startup-id arandr +bindsym $mod+F2 exec --no-startup-id sudo systemctl hibernate +bindsym $mod+F3 exec --no-startup-id sudo systemctl restart NetworkManager +bindsym $mod+F4 exec --no-startup-id ~/.config/polybar/launch.sh +bindsym $mod+F5 exec --no-startup-id sudo systemctl restart bluetooth.service ###---Arrow Keys---### bindsym $mod+Left focus left @@ -323,10 +343,6 @@ bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right -#Backlight keys -bindsym Mod1+plus exec light -A 5 -bindsym Mod1+minus exec light -U 5 - ###---Media Keys---### #Volume keys @@ -350,37 +366,16 @@ bindsym $mod+Shift+bracketright exec $bigfor bindsym Print exec --no-startup-id scrot bindsym Shift+Print exec --no-startup-id scrot -u -#For recording audio/video or stop recording. Also screenkey for visual typing. -bindsym $mod+Print exec --no-startup-id screenkey -bindsym $mod+Scroll_Lock exec $audio -bindsym $mod+Insert exec $screencast -bindsym $mod+Pause exec $video -bindsym $mod+Delete exec $stoprec -bindsym XF86Launch1 exec $stoprec - ###---Extra XF86 Keys---### #These are the extra media keys that some keyboards have. bindsym XF86AudioMute exec $mute bindsym XF86AudioLowerVolume exec $dec bindsym XF86AudioRaiseVolume exec $inc bindsym XF86PowerOff exec sudo shutdown -h now -#bindsym XF86Copy exec -#bindsym XF86Open exec -#bindsym XF86Paste exec -#bindsym XF86Cut exec -#bindsym XF86MenuKB exec -bindsym XF86Calculator exec $term -e R -q -bindsym XF86Sleep exec sudo zzz -#bindsym XF86WakeUp exec bindsym XF86Explorer exec $term -e ranger #bindsym XF86Send exec #bindsym XF86Xfer exec bindsym XF86WWW exec --no-startup-id $BROWSER -#bindsym XF86DOS exec -bindsym XF86ScreenSaver exec exec --no-startup-id ~/.config/i3/lock.sh -#bindsym XF86RotateWindows exec -#bindsym XF86TaskPane exec -#bindsym XF86Favorites exec bindsym XF86MyComputer exec $term -e ranger #bindsym XF86Back exec #bindsym XF86Forward exec @@ -394,21 +389,7 @@ bindsym XF86AudioRewind exec $lilbak bindsym XF86AudioForward exec $lilfor #bindsym XF86Phone exec #bindsym XF86Tools exec -bindsym XF86HomePage exec $BROWSER https://lukesmith.xyz bindsym XF86Reload restart -#bindsym XF86ScrollUp exec -#bindsym XF86ScrollDown exec -#bindsym XF86New exec -#bindsym XF86LaunchA exec -#bindsym XF86LaunchB exec -#bindsym XF86Launch2 exec -#bindsym XF86Launch3 exec -#bindsym XF86Launch4 exec -#bindsym XF86Launch5 exec -#bindsym XF86Launch6 exec -#bindsym XF86Launch7 exec -#bindsym XF86Launch8 exec -#bindsym XF86Launch9 exec bindsym XF86AudioMicMute exec $micmute #bindsym XF86TouchpadToggle exec bindsym XF86TouchpadOn exec --no-startup-id exec synclient TouchpadOff=0 @@ -423,8 +404,8 @@ bindsym XF86Search exec $BROWSER https://duckduckgo.com #bindsym XF86Finance exec #bindsym XF86Game exec #bindsym XF86Shop exec $BROWSER https://ebay.com -bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 15 -bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 15 +bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5 +bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5 bindsym XF86AudioMedia exec $music bindsym XF86Display exec --no-startup-id arandr #bindsym XF86KbdLightOnOff exec