diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-08-19 23:56:47 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-08-19 23:56:47 +0200 |
commit | 06e056290981a2fe696e1b1c7ed7ce1e58b6d63f (patch) | |
tree | ab1046ff6819b88f5e176775056beb3926c56bdf | |
parent | 86a8ec190d16f6032d3ca999a114787e3378b773 (diff) |
...
-rw-r--r-- | .config/i3/config | 35 | ||||
-rw-r--r-- | .config/picom/picom.conf | 3 | ||||
-rw-r--r-- | .xinitrc | 2 |
3 files changed, 22 insertions, 18 deletions
diff --git a/.config/i3/config b/.config/i3/config index 72c0477..5cc9870 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -8,27 +8,27 @@ floating_modifier $mod bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" +bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+Shift+q kill -bindsym $mod+Escape exec systemctl suspend -bindsym $mod+Return exec alacritty -bindsym $mod+b exec firefox -bindsym $mod+e exec pcmanfm +bindsym $mod+Escape exec --no-startup-id systemctl suspend +bindsym $mod+Return exec --no-startup-id alacritty +bindsym $mod+b exec --no-startup-id firefox +bindsym $mod+e exec --no-startup-id pcmanfm bindsym $mod+f fullscreen toggle # Rofi -bindsym $mod+d exec rofi -show drun -show-icons -theme rofi -drun-display-format {name} -bindsym Mod1+Tab exec rofi -show window -show-icons -theme rofi -drun-display-format {name} -bindsym Mod1+b exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons -theme rofi -bindsym $mod+Shift+p exec rofi -show p -theme rofi -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/hibernate/logout" +bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -theme rofi -drun-display-format {name} +bindsym Mod1+Tab exec --no-startup-id rofi -show window -show-icons -theme rofi -drun-display-format {name} +bindsym Mod1+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons -theme rofi +bindsym $mod+Shift+p exec --no-startup-id rofi -show p -theme rofi -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/hibernate/logout" # Media keys bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle -bindsym XF86AudioPlay exec playerctl play-pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous # Change focus bindsym $mod+h focus left @@ -41,8 +41,10 @@ bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right -bindsym $mod+a focus parent # Focus the parent container -bindsym $mod+Shift+t focus mode_toggle # Focus tiled / floating windows +# Focus the parent container +bindsym $mod+a focus parent +# Focus tiled / floating windows +bindsym $mod+Shift+t focus mode_toggle # Window orientation bindsym $mod+g split h @@ -143,7 +145,7 @@ for_window [class="^Unity$" title="^Hold On$"] floating enable for_window [class="^Unity$" title="^Preparing Package$"] floating enable for_window [class="^Unity$" title="^Importing Package$"] floating enable -# Steam https://github.com/ValveSoftware/steam-for-linux/issues/1040 +# Steam for_window [title="Friends List"] floating enable for_window [class="^Steam$" title="^Friends$"] floating enable for_window [class="^Steam$" title="Steam - News"] floating enable @@ -161,5 +163,6 @@ for_window [title="^Steam Keyboard$"] floating enable ##### Exec -exec --no-startup-id nm-applet +exec_always --no-startup-id nm-applet exec_always --no-startup-id $HOME/.config/polybar/launch.sh +exec_always --no-startup-id picom --config $HOME/.config/picom/picom.conf -b diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index a305f2d..a1ef30f 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -26,7 +26,8 @@ blur-background-fixed = false; blur-background-exclude = [ "window_type = 'dock'", - "window_type = 'desktop'" + "window_type = 'desktop'", + "window_type = 'dnd'" ]; opacity-rule = [ @@ -37,7 +37,7 @@ greenclip daemon & playerctld daemon & nitrogen --restore & setxkbmap -option grp:win_space_toggle us,dk & -picom --config $HOME/.config/picom/picom.conf -b & +#picom --config $HOME/.config/picom/picom.conf -b & redshift -l 56:10 & pcmanfm -d & exec i3 & wmpid=$! |