mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
Update i3, compton, rofi, and a pacman hook
This commit is contained in:
parent
e6af3fa8ac
commit
ac806fcc93
@ -110,7 +110,8 @@ frame-opacity = 1;
|
|||||||
inactive-opacity-override = false;
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
# Dim inactive windows. (0.0 - 1.0)
|
# Dim inactive windows. (0.0 - 1.0)
|
||||||
inactive-dim = 0.75;
|
inactive-dim = 0.3;
|
||||||
|
|
||||||
# Do not let dimness adjust based on window opacity.
|
# Do not let dimness adjust based on window opacity.
|
||||||
# inactive-dim-fixed = true;
|
# inactive-dim-fixed = true;
|
||||||
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
||||||
@ -131,7 +132,7 @@ blur-background-exclude = [
|
|||||||
#################################
|
#################################
|
||||||
|
|
||||||
# Fade windows during opacity changes.
|
# Fade windows during opacity changes.
|
||||||
fading = true;
|
fading = false;
|
||||||
# The time between steps in a fade in milliseconds. (default 10).
|
# The time between steps in a fade in milliseconds. (default 10).
|
||||||
fade-delta = 4;
|
fade-delta = 4;
|
||||||
# Opacity change between steps while fading in. (default 0.028).
|
# Opacity change between steps while fading in. (default 0.028).
|
||||||
@ -139,7 +140,7 @@ fade-in-step = 0.03;
|
|||||||
# Opacity change between steps while fading out. (default 0.03).
|
# Opacity change between steps while fading out. (default 0.03).
|
||||||
fade-out-step = 0.03;
|
fade-out-step = 0.03;
|
||||||
# Fade windows in/out when opening/closing
|
# Fade windows in/out when opening/closing
|
||||||
# no-fading-openclose = true;
|
no-fading-openclose = true;
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should not be faded.
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
fade-exclude = [ ];
|
fade-exclude = [ ];
|
||||||
|
12
i3/config
12
i3/config
@ -62,6 +62,7 @@ bindsym $mod+Shift+q kill
|
|||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec rofi -show drun -sidebar-mode -theme fds-sidebar-dark
|
bindsym $mod+d exec rofi -show drun -sidebar-mode -theme fds-sidebar-dark
|
||||||
|
bindsym $mod+Shift+d exec ~/.scripts/rofi-user-action-menu.sh
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||||
# installed.
|
# installed.
|
||||||
@ -211,11 +212,9 @@ bindsym $mod+Shift+9 move container to workspace $ws9
|
|||||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+r reload
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
bindsym $mod+Shift+r restart
|
bindsym $mod+Shift+r restart
|
||||||
# exit i3 (logs you out of your X session)
|
|
||||||
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'"
|
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
@ -233,10 +232,10 @@ mode "resize" {
|
|||||||
# back to normal: Enter or Escape or $mod+r
|
# back to normal: Enter or Escape or $mod+r
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
bindsym $mod+r mode "default"
|
bindsym $mod+q mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+q mode "resize"
|
||||||
|
|
||||||
# Make dialogs to float by default
|
# Make dialogs to float by default
|
||||||
for_window [window_role="pop-up"] floating enable
|
for_window [window_role="pop-up"] floating enable
|
||||||
@ -267,6 +266,9 @@ mode "applications" {
|
|||||||
|
|
||||||
bindsym $mod+a mode "applications"; exec sleep 1 && i3-msg mode "default"
|
bindsym $mod+a mode "applications"; exec sleep 1 && i3-msg mode "default"
|
||||||
|
|
||||||
|
bindsym $mod+c [class="code"] focus
|
||||||
|
bindsym $mod+Shift+c [instance="vim"] focus
|
||||||
|
|
||||||
# i3 bar
|
# i3 bar
|
||||||
bar {
|
bar {
|
||||||
height 35
|
height 35
|
||||||
|
@ -8,6 +8,6 @@ Target = *
|
|||||||
[Action]
|
[Action]
|
||||||
Depends = pacman
|
Depends = pacman
|
||||||
Description = Do a system sync first before doing any operations
|
Description = Do a system sync first before doing any operations
|
||||||
When = PostTransaction
|
When = PreTransaction
|
||||||
Exec = /usr/bin/pacman -Syu
|
Exec = /usr/bin/pacman -Syu
|
||||||
|
|
||||||
|
@ -5,4 +5,5 @@ configuration {
|
|||||||
display-ssh: "SSH";
|
display-ssh: "SSH";
|
||||||
font: "Iosevka 14";
|
font: "Iosevka 14";
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
|
theme: "fds-sidebar-dark";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user