From 5868b14fbbc77daf00a4b3bd95518d00905ab34d Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 7 Nov 2021 06:35:53 -0500 Subject: Added i3 and i3blocks configuration files --- .config/i3/config | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 .config/i3/config (limited to '.config/i3') diff --git a/.config/i3/config b/.config/i3/config new file mode 100644 index 0000000..3ad5f62 --- /dev/null +++ b/.config/i3/config @@ -0,0 +1,169 @@ +# i3 config file +#------------------------------i3-settings------------------------------------------------- + +set $mod Mod4 +font pango:dejavusansmono 10 +floating_modifier $mod +default_border pixel 3 +hide_edge_borders smart +mouse_warping none + +#------------------------------Key-Bindings------------------------------------------------ +bindsym $mod+shift+q kill + +# Window Toggles +bindsym $mod+Shift+space floating toggle +bindsym $mod+shift+f fullscreen toggle + +# Set Orientation +bindsym $mod+v split vertical +bindsym $mod+s split horizontal + +# Change Focus +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# Move Workspace +bindsym $mod+shift+h move left +bindsym $mod+shift+j move down +bindsym $mod+shift+k move up +bindsym $mod+shift+l move right + +# Resize Windows +bindsym $mod+y resize shrink width 10px +bindsym $mod+u resize grow height 10px +bindsym $mod+i resize shrink height 10px +bindsym $mod+o resize grow width 10px + +# Relaod/Restart/Exit i3 +bindsym $mod+BackSpace reload +bindsym $mod+Shift+BackSpace restart +bindsym $mod+Shift+Escape exec urxvt -e exiti3 + +#------------------------------Window-Specifics-------------------------------------------- + +# steam +for_window [instance="Steam"] move to workspace 1 + +# keepassxc +for_window [instance="keepassxc"] move to workspace 9 + +# cmus +for_window [instance="cmus"] move to workspace 10 + +#------------------------------Workspaces-------------------------------------------------- + +# Declare workspace variables +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +# Switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# Move containers to workspaces +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +#------------------------------Colors-and-Bar---------------------------------------------- + +set $black #000000 +set $white #FFFFFF + +# Dark Blood Variables +set $db_base #0A0608 +set $db_fg #B9B9B9 +set $db_text #B9B9B9 +set $db_bg #232323 +set $db_sel_fg #FF9EA7 +set $db_sel_bg #3D1317 +set $db_hlght #3D1317 + +# Dark Cold Variables +set $dc_base #060A0F +set $dc_fg #6EBEFE +set $dc_text #6EBEFE +set $dc_bg #232323 +set $dc_sel_fg #FFFFFF +set $dc_sel_bg #0D377C +set $dc_hlght #0D377C + +# Dark Mint Variables +set $dm_base #060A08 +set $dm_fg #78B97E +set $dm_text #78B97E +set $dm_bg #232323 +set $dm_sel_fg #9EFFA7 +set $dm_sel_bg #133D17 +set $dm_hlght #133D17 + +# Dark Fire Variables +set $df_base #0F0606 +set $df_fg #FEFEFE +set $df_text #FEFEFE +set $df_bg #232323 +set $df_sel_fg #FFFFFF +set $df_sel_bg #7C0D0D +set $df_hlght #7C0D0D + +# Arc-Dark Variables +set $ad_base #404552 +set $ad_fg #d3dae3 +set $ad_text #d3dae3 +set $ad_bg #383c4a +set $ad_sel_fg #ffffff +set $ad_sel_bg #5294e2 +set $ad_hlght #5294e2 + +# Start Color +set $client.fi client.focused_inactive +# class border background text indicator child_border +client.focused $df_hlght $df_sel_fg $df_text $df_hlght $df_hlght +$client.fi $df_hlght $df_sel_fg $df_text $df_base $df_base +client.unfocused $df_hlght $df_sel_fg $df_text $df_base $df_base +client.background $df_base + +# Bar +bar { + i3bar_command i3bar --transparency + position top + colors { + background $df_base + statusline $df_text + separator $df_hlght + # class border background text + focused_workspace $df_hlght $df_sel_bg $df_sel_fg + active_workspace $df_hlght $df_base $df_text + inactive_workspace $df_hlght $df_base $df_text + urgent_workspace $df_hlght $df_sel_bg $df_sel_fg + binding_mode $df_hlght $df_sel_bg $df_sel_fg + } + status_command i3blocks +} +# End Color -- cgit v1.2.3