aboutsummaryrefslogtreecommitdiff
path: root/i3.conf
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-18 00:50:46 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-18 00:50:46 +0000
commitc0cd0e1a30ae207025a25dcd069b1455c360176a (patch)
tree793b30ce927155a4d5a1361b72d62a0d8a86cd98 /i3.conf
parentd252128448e0bbad4eebb7bce33c54c9de68e9d3 (diff)
downloaddotfiles-c0cd0e1a30ae207025a25dcd069b1455c360176a.tar.gz
dotfiles-c0cd0e1a30ae207025a25dcd069b1455c360176a.tar.bz2
dotfiles-c0cd0e1a30ae207025a25dcd069b1455c360176a.zip
~clean up some stuff in i3.conf
Diffstat (limited to 'i3.conf')
-rw-r--r--i3.conf35
1 files changed, 6 insertions, 29 deletions
diff --git a/i3.conf b/i3.conf
index 61fe682..345cb82 100644
--- a/i3.conf
+++ b/i3.conf
@@ -7,13 +7,6 @@ set $mod Mod4
# is used in the bar {} block below.
font pango:source code pro 10
-# This font is widely installed, provides lots of unicode glyphs, right-to-left
-# text rendering and scalability on retina/hidpi displays (thanks to pango).
-#font pango:DejaVu Sans Mono 8
-
-# The combination of xss-lock, nm-applet and pactl is a popular choice, so
-# they are included here as an example. Modify as you see fit.
-
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
@@ -24,9 +17,9 @@ exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +10% && $refresh_i3status
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -10% && $refresh_i3status
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Use Mouse+$mod to drag floating windows to their wanted position
@@ -39,7 +32,7 @@ bindsym $mod+Return exec alacritty
bindsym $mod+Shift+q kill
# show applications
-bindsym $mod+d exec rofi -show run -matching fuzzy daemon
+bindsym $mod+a exec rofi -show run -matching fuzzy daemon
# show windows
bindsym $mod+w exec rofi -show window -matching fuzzy daemon
@@ -88,12 +81,6 @@ bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
-# focus the parent container
-bindsym $mod+a focus parent
-
-# focus the child container
-#bindsym $mod+d focus child
-
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
@@ -133,19 +120,11 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
-# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
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
mode "resize" {
- # These bindings trigger as soon as you enter the resize mode
-
- # Pressing left will shrink the window’s width.
- # Pressing right will grow the window’s width.
- # Pressing up will shrink the window’s height.
- # Pressing down will grow the window’s height.
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
@@ -165,8 +144,6 @@ mode "resize" {
bindsym $mod+r mode "resize"
-# Start i3bar to display a workspace bar (plus the system information i3status
-# finds out, if available)
bar {
- status_command i3status
+ status_command i3status --config ~/.i3status.conf
}