summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-08-06 13:25:57 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-08-06 13:25:57 +0200
commit3208038a9b1786d35c4101ec641bfebcb99a77e4 (patch)
treeeb6dc1ad9c37eef7dfc3f8dc3987fc8b8793e6d0
parentc1b97d0da3fc928698a7bd2d2770a1875b23fa25 (diff)
parent39be75d92fa7f31b8697ecba1f8711f4fcb59cfc (diff)
Media keys work, changed i3 border thickness, polybar works, corrected i3 resize keybinds
-rw-r--r--.config/i3/config28
-rw-r--r--.config/picom/picom.conf2
-rw-r--r--.config/polybar/config3
-rwxr-xr-x.config/polybar/launch.sh1
-rw-r--r--.xinitrc6
5 files changed, 22 insertions, 18 deletions
diff --git a/.config/i3/config b/.config/i3/config
index d76fcdf..260fc91 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -18,14 +18,16 @@ bindsym $mod+f fullscreen toggle
# Rofi
bindsym $mod+d exec rofi -show drun -show-icons -theme rofi
-bindsym $mod+Shift+space exec rofi -show run -show-icons -theme rofi
-bindsym $mod+Ctrl+space exec rofi -show window -show-icons -theme rofi
+bindsym $mod+Tab exec rofi -show window -show-icons -theme rofi
bindsym Mod1+b exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons -theme rofi
-# PulseAudio
-bindsym XF86AudioRaiseVolume pactl set-sink-volume @DEFAULT_SINK@ +10%
-bindsym XF86AudioLowerVolume pactl set-sink-volume @DEFAULT_SINK@ -10%
-bindsym XF86AudioMute pactl set-sink-mute @DEFAULT_SINK@ toggle
+# Media keys
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10%
+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
# Change focus
bindsym $mod+h focus left
@@ -87,13 +89,13 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
mode "Resize Mode" {
bindsym h resize shrink width 6 px or 6 ppt
- bindsym j resize grow height 6 px or 6 ppt
- bindsym k resize shrink height 6 px or 6 ppt
+ bindsym j resize shrink height 6 px or 6 ppt
+ bindsym k resize grow height 6 px or 6 ppt
bindsym l resize grow width 6 px or 6 ppt
bindsym Shift+h resize shrink width 12 px or 12 ppt
- bindsym Shift+j resize grow height 12 px or 12 ppt
- bindsym Shift+k resize shrink height 12 px or 12 ppt
+ bindsym Shift+j resize shrink height 12 px or 12 ppt
+ bindsym Shift+k resize grow height 12 px or 12 ppt
bindsym Shift+l resize grow width 12 px or 12 ppt
bindsym minus gaps inner current minus 6
@@ -110,12 +112,12 @@ bindsym $mod+r mode "Resize Mode"
##### Appearance
-font pango:monospace 6
+font pango:Source Code Pro Medium 11
gaps inner 5
gaps outer 0
-default_border pixel 1
-default_floating_border pixel 1
+default_border pixel 2
+default_floating_border pixel 2
smart_gaps on
hide_edge_borders smart
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf
index fb5ee93..a305f2d 100644
--- a/.config/picom/picom.conf
+++ b/.config/picom/picom.conf
@@ -67,7 +67,7 @@ detect-client-opacity = true;
# Specify refresh rate of the screen.
# If not specified or 0, picom will try detecting this with X RandR extension.
-refresh-rate = 144;
+refresh-rate = 0;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows.
diff --git a/.config/polybar/config b/.config/polybar/config
index 1966ccd..67fe125 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -3,7 +3,7 @@
;background = #10152c
;background = #080f1f
background = #090809
-background-alt = #46008c
+background-alt = #1b2f60
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #254183
@@ -14,6 +14,7 @@ alert = #bd2c40
[bar/bar1]
+monitor = DP-2
width = 100%
height = 25
;offset-x = 1%
diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh
index b754d08..ff5065a 100755
--- a/.config/polybar/launch.sh
+++ b/.config/polybar/launch.sh
@@ -8,5 +8,6 @@ killall -q polybar
# Launch bar1
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown
+polybar bar2 2>&1 | tee -a /tmp/polybar2.log & disown
echo "Bars launched..."
diff --git a/.xinitrc b/.xinitrc
index 27b0734..150fc81 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -33,9 +33,9 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
fi
-nitrogen --restore &
greenclip daemon &
-picom --config $HOME/.config/picom/picom.conf -b &
+playerctld daemon &
+nitrogen --restore &
setxkbmap -option grp:win_space_toggle us,dk &
-
+picom --config $HOME/.config/picom/picom.conf -b &
exec i3