From e4aac92cb8a790846ddc116e76a9b72a0b8a978c Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 6 May 2020 16:25:25 +0300 Subject: change maus i3 keys to magicforce --- .config/i3/config##c.desktop,h.Maus | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to '.config/i3') diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index f169440..39a2dc3 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus @@ -20,6 +20,7 @@ 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 & exec --no-startup-id xdotool key --clearmodifiers Num_Lock +exec --no-startup-id udiskie --automount --file-manager thunar --tray --notify & # swap caps lock and escape, set keyboard layout exec --no-startup-id setxkbmap -model pc105 -layout tr,us -variant ,colemak -option grp:alt_shift_toggle,caps:backspace @@ -71,12 +72,21 @@ bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr - bindsym Print exec flameshot gui # media keys -bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" -bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" -bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" -bindsym $mod+q exec --no-startup-id playerctl play-pause -bindsym $mod+Left exec --no-startup-id playerctl previous -bindsym $mod+Right exec --no-startup-id playerctl next +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86Tools exec --no-startup-id mpc toggle + +# # media keys +# bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +# bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +# bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" +# bindsym $mod+q exec --no-startup-id playerctl play-pause +# bindsym $mod+Left exec --no-startup-id playerctl previous +# bindsym $mod+Right exec --no-startup-id playerctl next # Make the currently focused window a scratchpad bindsym $mod+Shift+minus move scratchpad @@ -173,8 +183,8 @@ 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 -bindsym $mod+Shift+greater move container to output right -bindsym $mod+Shift+less move container to output left +bindsym $mod+z move container to output right +# bindsym $mod+Shift+less move container to output left # reload the configuration file bindsym $mod+Shift+c reload -- cgit v1.2.3-70-g09d2 From 5de2c4d480ba0c88ca4ffae4a6defc5890f43477 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 9 May 2020 14:38:20 +0300 Subject: refactor compton to picom --- .config/compton/compton.conf | 94 ------------------------------------- .config/i3/config##c.desktop,h.Maus | 2 +- .config/picom/picom.conf | 94 +++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 95 deletions(-) delete mode 100644 .config/compton/compton.conf create mode 100644 .config/picom/picom.conf (limited to '.config/i3') diff --git a/.config/compton/compton.conf b/.config/compton/compton.conf deleted file mode 100644 index 357f978..0000000 --- a/.config/compton/compton.conf +++ /dev/null @@ -1,94 +0,0 @@ -# Shadow -shadow = true; -shadow-radius = 0; -shadow-offset-x = 5; -shadow-offset-y = 5; -log-level = "warn"; -# log-file = "/path/to/your/log/file"; -shadow-opacity = 0.8; -#shadow-red = 0.33; -#shadow-green = 0.33; -#shadow-blue = 0.33; -shadow-exclude = [ - "name = 'Notification'", - "class_g = 'Conky'", - "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "_GTK_FRAME_EXTENTS@:c" -]; -# shadow-exclude = "n:e:Notification"; -# shadow-exclude-reg = "x10+0+0"; -# xinerama-shadow-crop = true; - -# Opacity -inactive-opacity = 0.95; -# active-opacity = 0.8; -frame-opacity = 1.0; -inactive-opacity-override = false; -inactive-dim = 0.0; -# inactive-dim-fixed = true; -#blur-background = true; -# blur-background-frame = true; -blur-kern = "3x3box"; -# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; -# blur-background-fixed = true; -blur-background-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" -]; -opacity-rule = [ - "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", - "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" -]; -# Fading -fading = true; -# fade-delta = 30; -fade-in-step = 0.03; -fade-out-step = 0.03; -# no-fading-openclose = true; -# no-fading-destroyed-argb = true; -fade-exclude = [ ]; - -# Other -backend = "glx"; -mark-wmwin-focused = true; -mark-ovredir-focused = true; -# use-ewmh-active-win = true; -detect-rounded-corners = true; -detect-client-opacity = true; -refresh-rate = 0; -vsync = "opengl-swc"; -paint-on-overlay = true; -sw-opti = false; -# unredir-if-possible = true; -# unredir-if-possible-delay = 5000; -# unredir-if-possible-exclude = [ ]; -focus-exclude = [ "class_g = 'Cairo-clock'" ]; -detect-transient = true; -detect-client-leader = true; -invert-color-include = [ ]; -# resize-damage = 1; - -# GLX backend -glx-no-stencil = true; -glx-copy-from-front = false; -glx-swap-method = "undefined"; -# glx-no-rebind-pixmap = true; -# glx-swap-method = "undefined"; -# glx-use-gpushader4 = true; -# xrender-sync = true; -# xrender-sync-fence = true; -# Window type settings -wintypes: -{ - tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; - dock = { shadow = false; } - dnd = { shadow = false; } - popup_menu = { fade = true; shadow = true; opacity = 1; focus = true; full-shadow = true; } - dropdown_menu = { opacity = 1; } -}; diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index 39a2dc3..a6d85d7 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus @@ -13,7 +13,7 @@ exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer no #autostart exec --no-startup-id xsettingsd & -exec --no-startup-id compton -b & +exec --no-startup-id picom -b & exec --no-startup-id nextcloud & exec --no-startup-id copyq & exec --no-startup-id redshift-gtk & diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf new file mode 100644 index 0000000..67c459f --- /dev/null +++ b/.config/picom/picom.conf @@ -0,0 +1,94 @@ +# Shadow +shadow = true; +shadow-radius = 0; +shadow-offset-x = 5; +shadow-offset-y = 5; +log-level = "warn"; +# log-file = "/path/to/your/log/file"; +shadow-opacity = 0.8; +#shadow-red = 0.33; +#shadow-green = 0.33; +#shadow-blue = 0.33; +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "_GTK_FRAME_EXTENTS@:c" +]; +# shadow-exclude = "n:e:Notification"; +# shadow-exclude-reg = "x10+0+0"; +# xinerama-shadow-crop = true; + +# Opacity +inactive-opacity = 0.95; +# active-opacity = 0.8; +frame-opacity = 1.0; +inactive-opacity-override = false; +inactive-dim = 0.0; +# inactive-dim-fixed = true; +#blur-background = true; +# blur-background-frame = true; +blur-kern = "3x3box"; +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; +opacity-rule = [ + "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", + "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" +]; +# Fading +fading = true; +# fade-delta = 30; +fade-in-step = 0.03; +fade-out-step = 0.03; +# no-fading-openclose = true; +# no-fading-destroyed-argb = true; +fade-exclude = [ ]; + +# Other +backend = "glx"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +# use-ewmh-active-win = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = "opengl-swc"; +# paint-on-overlay = true; +sw-opti = false; +# unredir-if-possible = true; +# unredir-if-possible-delay = 5000; +# unredir-if-possible-exclude = [ ]; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +# resize-damage = 1; + +# GLX backend +glx-no-stencil = true; +glx-copy-from-front = false; +glx-swap-method = "undefined"; +# glx-no-rebind-pixmap = true; +# glx-swap-method = "undefined"; +# glx-use-gpushader4 = true; +# xrender-sync = true; +# xrender-sync-fence = true; +# Window type settings +wintypes: +{ + tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; + dock = { shadow = false; } + dnd = { shadow = false; } + popup_menu = { fade = true; shadow = true; opacity = 1; focus = true; full-shadow = true; } + dropdown_menu = { opacity = 1; } +}; -- cgit v1.2.3-70-g09d2 From abab47a7af5319aba0b0ce2a592db888c7fb469e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 May 2020 12:35:29 +0300 Subject: move stuff around --- .config/i3/config##c.desktop,h.Maus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/i3') diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index a6d85d7..65449e2 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus @@ -14,6 +14,7 @@ exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer no #autostart exec --no-startup-id xsettingsd & exec --no-startup-id picom -b & +exec --no-startup-id flashfocus & exec --no-startup-id nextcloud & exec --no-startup-id copyq & exec --no-startup-id redshift-gtk & @@ -35,7 +36,6 @@ exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf # set the wallpaper last (hopefully after xrandr) exec --no-startup-id ~/.fehbg -exec_always --no-startup-id flashfocus # Font for window titles font pango:Lato 11 -- cgit v1.2.3-70-g09d2 From dd1bcc255635b9aeef4d593a4add067b66c0c007 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 May 2020 12:35:43 +0300 Subject: disable firefox autostart --- .config/i3/config##c.desktop,h.Maus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/i3') diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index 65449e2..78691d1 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus @@ -279,7 +279,7 @@ for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable assign [class="^Steam$"] 9 assign [class="^Thunderbird$"] 8 -exec --no-startup-id i3-msg 'exec /usr/bin/firefox;move container to output right' +# exec --no-startup-id i3-msg 'exec /usr/bin/firefox;move container to output right' # class border backgr. text indicator child_border client.focused #458588 #285577 #ffffff #458588 #285577 -- cgit v1.2.3-70-g09d2 From 911c6b41aafaf9686d9fdb709b5b92303255979f Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 May 2020 12:35:54 +0300 Subject: disable mouse warping --- .config/i3/config##c.desktop,h.Maus | 1 + 1 file changed, 1 insertion(+) (limited to '.config/i3') diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index 78691d1..0fccdce 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus @@ -294,3 +294,4 @@ client.background #ffffff hide_edge_borders smart workspace_auto_back_and_forth yes focus_follows_mouse no +mouse_warping none -- cgit v1.2.3-70-g09d2