From d5a9f4c5ed15257f2590c51873b022f35009ff22 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 8 Apr 2019 22:57:28 +0300 Subject: i3 config parity and zotero floating window --- .config/i3/config##desktop.Linux.Lowe | 3 ++- .config/i3/config##desktop.Linux.Maus | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to '.config') diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe index fd1d432..96317de 100644 --- a/.config/i3/config##desktop.Linux.Lowe +++ b/.config/i3/config##desktop.Linux.Lowe @@ -177,7 +177,8 @@ bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh bindsym $mod+r mode "resize" for_window [class=".*"] border pixel 3 - +for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable +for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable assign [class="^Thunderbird$"] 8 # class border backgr. text indicator child_border diff --git a/.config/i3/config##desktop.Linux.Maus b/.config/i3/config##desktop.Linux.Maus index 0fd9a45..8d35cca 100644 --- a/.config/i3/config##desktop.Linux.Maus +++ b/.config/i3/config##desktop.Linux.Maus @@ -14,6 +14,8 @@ exec --no-startup-id redshift-gtk & exec --no-startup-id nm-applet & exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off & +# lock screen +exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' #launch polybar exec--no-startup-id $HOME/.config/polybar/launch.sh @@ -27,9 +29,6 @@ exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf # set the wallpaper last (hopefully after xrandr) exec --no-startup-id ~/.fehbg -# lock screen -exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'i3lock-fancy -f Lato-Light -t "welcome back" -- scrot -z' '' - gaps inner 10 gaps outer 10 @@ -54,7 +53,7 @@ bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c # add taskwarrior/gtd calendar item -bindsym $mod+Shift+t --no-startup-id ~/bin/td +bindsym $mod+Shift+t exec --no-startup-id ~/bin/td # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" @@ -188,17 +187,20 @@ mode "resize" { # session mode " (L)ock (S)ignout (R)eboot (P)oweroff" { - bindsym $mod+l exec i3lock-fancy -f Lato-Light -t 'welcome back' -- scrot -z + bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" bindsym $mod+r exec systemctl reboot bindsym $mod+p exec systemctl poweroff bindsym $mod+s exit bindsym Escape mode "default" } bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" +bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh bindsym $mod+r mode "resize" for_window [class=".*"] border pixel 0 +for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable +for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable assign [class="^Steam$"] 9 assign [class="^Thunderbird$"] 8 -- cgit v1.2.3-70-g09d2