Large update

This commit is contained in:
2020-07-06 18:00:10 +02:00
parent c089d7fca8
commit 683b6320e7
14 changed files with 825 additions and 11 deletions

View File

@@ -19,7 +19,8 @@ set $term kitty
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $menu rofi -no-levenshtein-sort -color-enabled -show run | xargs swaymsg exec --
set $menu rofi -no-levenshtein-sort -color-enabled -show run\
-run-command "zsh -i -c '{cmd}'" | xargs swaymsg exec --
set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\
-i DP-5:~/wallpapers/hornet.jpg -i DP-4:~/wallpapers/knight.jpg
@@ -40,6 +41,9 @@ focus output eDP-1
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
# Mouse cursor
seat seat0 xcursor_theme capitaine-cursors 48
### Idle configuration
#
# Example configuration:
@@ -89,10 +93,10 @@ input "1102:4619:DLL07A0:01_044E:120B" {
bindsym $mod+Shift+q kill
# Sound
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86AudioRaiseVolume exec amixer -c 0 sset Master 5%+
bindsym XF86AudioLowerVolume exec amixer -c 0 sset Master 5%-
bindsym XF86AudioMute exec 'amixer -c 0 sset Master toggle && amixer -c 0 sset Speaker on && amixer -c 0 sset Headphone on'
bindsym XF86AudioMicMute exec amixer -c 0 sset Capture toggle
# Brightness
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
@@ -178,12 +182,12 @@ input "1102:4619:DLL07A0:01_044E:120B" {
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+h splith
bindsym $mod+b splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+z layout tabbed
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
@@ -196,7 +200,7 @@ input "1102:4619:DLL07A0:01_044E:120B" {
bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
bindsym $mod+q focus parent
#
# Scratchpad:
#
@@ -270,13 +274,22 @@ include /etc/sway/config.d/*
# Assignments
assign [class="discord"] workspace 3
assign [class="Spotify"] workspace 3
for_window [class="Spotify"] opacity 0.8
#for_window [class="Chromium"] opacity 0.9
exec redshift -O 4500 -m wayland
exec megasync
exec nm-applet --indicator
exec qjackctl
for_window [class="QjackCtl"] floating enable
for_window [title="Graphe — QjackCtl"] floating disable
exec ~/.local/start_jack.sh
exec ~/.config/sway/workspace-rename.sh
for_window [class="Tor Browser"] floating enable
workspace 1 output eDP-1
exec $term
@@ -297,3 +310,5 @@ workspace 7 output "Dell Inc. DELL U2717D JXRPT83GAHKS"
workspace 8 output "Dell Inc. DELL U2717D JXRPT83GAHKS"
workspace 9 output "Dell Inc. DELL U2717D JXRPT83GAHKS"
exec xrdb -load ~/.Xresources

View File

@@ -25,6 +25,8 @@ marquee = true
[[block]]
block = "sound"
driver = "alsa"
#device = "hw:0"
step_width = 3
[[block]]