Added new configs for kitty and polybar. Small changes in i3 config.

This commit is contained in:
2019-11-23 22:23:09 +03:00
parent c7477b365e
commit 323fa549b3
11 changed files with 1563 additions and 298 deletions
+27 -45
View File
@@ -12,11 +12,11 @@ bindsym $mod+u border none
bindsym $mod+y border pixel 1
bindsym $mod+n border normal
font xft:URWGothic-Book 11
font pango:Cascadia Code 11
floating_modifier $mod
bindsym $mod+Return exec urxvt
bindsym $mod+Return exec kitty
# Window kill command
bindsym $mod+Shift+q kill
@@ -24,23 +24,12 @@ bindsym $mod+Shift+q kill
# start program launcher
bindsym $mod+d exec --no-startup-id rofi -show run
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
#bindsym $mod+l focus up
bindsym $mod+semicolon focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
@@ -138,35 +127,25 @@ bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
# Open specific applications in floating mode
for_window [title="alsamixer"] floating enable border pixel 1
for_window [class="Calamares"] floating enable border normal
for_window [class="Clipgrab"] floating enable
for_window [title="File Transfer*"] floating enable
for_window [class="Galculator"] floating enable border pixel 1
for_window [class="GParted"] floating enable border normal
for_window [title="i3_help"] floating enable sticky enable border normal
for_window [class="Lightdm-gtk-greeter-settings"] floating enable
for_window [class="Lxappearance"] floating enable sticky enable border normal
for_window [title="MuseScore: Play Panel"] floating enable
for_window [class="Nitrogen"] floating enable sticky enable border normal
for_window [class="Oblogout"] fullscreen enable
for_window [class="octopi"] floating enable
for_window [title="About Pale Moon"] floating enable
for_window [class="Pamac-manager"] floating enable
for_window [class="Pavucontrol"] floating enable
for_window [class="qt5ct"] floating enable sticky enable border normal
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
for_window [class="Simple-scan"] floating enable border normal
for_window [class="(?i)System-config-printer.py"] floating enable border normal
for_window [class="Skype"] floating enable border normal
for_window [class="Thus"] floating enable border normal
for_window [class="Timeset-gui"] floating enable border normal
for_window [class="(?i)virtualbox"] floating enable border normal
for_window [class="Xfburn"] floating enable
#for_window [class="Steam"] floating enable
for_window [class="java-lang-Thread"] floating enable
for_window [class="com.github.prominence.jchat.client.JChatClientApplication"] floating enable
for_window [class="Steam"] floating enable
# switch to workspace with urgent window automatically
for_window [urgent=latest] focus
# for_window [urgent=latest] focus
# reload the configuration file
bindsym $mod+Shift+c reload
@@ -202,27 +181,22 @@ mode "resize" {
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym j resize shrink width 5 px or 5 ppt
bindsym k resize grow height 5 px or 5 ppt
bindsym l resize shrink height 5 px or 5 ppt
bindsym semicolon resize grow width 5 px or 5 ppt
# bindsym j resize shrink width 5 px or 5 ppt
# bindsym k resize grow height 5 px or 5 ppt
# bindsym l resize shrink height 5 px or 5 ppt
# bindsym semicolon resize grow width 5 px or 5 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Left resize grow width 5 px or 5 ppt
bindsym Down resize shrink height 5 px or 5 ppt
bindsym Up resize grow height 5 px or 5 ppt
bindsym Right resize shrink width 5 px or 5 ppt
# exit resize mode: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
# Autostart applications
exec --no-startup-id nitrogen --restore; sleep 1; compton -bC
exec --no-startup-id pamac-tray
exec_always --no-startup-id /$HOME/.config/polybar/i3wmthemer_bar_launch.sh
# Theme colors
client.focused #272827 #272827 #657b83 #272827 #272827
client.focused_inactive #272827 #272827 #657b83 #272827 #272827
@@ -233,8 +207,8 @@ client.placeholder #272827 #272827 #657b83 #272827 #272827
client.background #272827
# Gaps
#gaps inner 10
#gaps outer -4
gaps inner 25
gaps outer -4
smart_gaps on
@@ -280,13 +254,16 @@ assign [class="Firefox"] → number $ws1
assign [class="TelegramDesktop"] → number $ws2
assign [class="Thunderbird"] → number $ws2
assign [class="jetbrains-idea"] → number $ws3
assign [class="java-lang-Thread"] → number $ws3
assign [class="cantata"] → number $ws5
assign [class="Steam"] → number $ws6
assign [class="qBittorrent"] → number $ws9
workspace "1:www" output $primary_output
workspace "2:msgr" output $secondary_output
workspace "3:code" output $primary_output
workspace "6:steam" output $primary_output
workspace "9" output $primary_output
# Custom keybindings
bindcode 123 exec "amixer set Master 1+"
@@ -311,7 +288,7 @@ bindsym $mod+Control+Print exec "maim -i $(xdotool getactivewindow) | xclip -sel
# Autostart system
exec_always "setxkbmap -model pc104 -layout us,ru -variant ,, -option grp:alt_shift_toggle"
exec_always "setxkbmap -layout us,ru -option grp:alt_shift_toggle -option esperanto:qwerty"
exec --no-startup-id redshift-gtk
exec_always lxsession
#usb mounting
@@ -323,5 +300,10 @@ exec --no-startup-id firefox
exec --no-startup-id telegram-desktop
exec --no-startup-id cantata
exec --no-startup-id intellij-idea-ultimate-edition
exec --no-startup-id steam-native
#exec --no-startup-id osmo
#exec --no-startup-id steam-native
exec --no-startup-id steam-runtime
exec --no-startup-id qbittorrent
#exec --no-startup-id osmo
exec --no-startup-id nitrogen --restore; sleep 1; compton -bCG
exec --no-startup-id pamac-tray
exec_always --no-startup-id /$HOME/.config/polybar/launcher.sh