Compare commits
10 Commits
5e81b44e4b
...
0d64693641
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d64693641 | |||
| 9896e20156 | |||
| fe796474f8 | |||
| 50ea9dc54b | |||
| 4270334f7f | |||
| ee9ad6b309 | |||
| 88fcde2302 | |||
| 24c9bd674a | |||
| 2978cc09f9 | |||
| cd214d4589 |
@@ -23,11 +23,10 @@ while true; do
|
|||||||
}
|
}
|
||||||
')
|
')
|
||||||
DISK=$(echo D:$(df -h / | awk 'NR==2 {print $5}'))
|
DISK=$(echo D:$(df -h / | awk 'NR==2 {print $5}'))
|
||||||
|
|
||||||
DATE=$(date +'%Y-%m-%d %X')
|
DATE=$(date +'%Y-%m-%d %X')
|
||||||
VOLUME=$(echo "V: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{print $5}')")
|
VOLUME=$(echo "V: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{print $5}')")
|
||||||
|
|
||||||
CPU=$(uptime | awk -F'load average:' '{ print $2 }' | awk '{ gsub(",", "", $1); gsub(",", "", $2); gsub(",", "", $3); print " L: " $1 " - " $2 " - " $3 }')
|
CPU=$(uptime | awk -F'load average:' '{ print $2 }' | awk '{ gsub(",", "", $1); gsub(",", "", $2); gsub(",", "", $3); print " L: " $1 " - " $2 " - " $3 }')
|
||||||
echo "$CPU | $VOLUME | $BATTERY | $DATE"
|
echo "$DISK | $CPU | $VOLUME | $BATTERY | $DATE"
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|||||||
20
config
20
config
@@ -35,7 +35,7 @@ set $menu wmenu-run
|
|||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
|
||||||
#output * bg /home/user/Pictures/stephansquintet.png fill
|
output * bg /home/user/Pictures/mrpicklesveryblack.png fill
|
||||||
|
|
||||||
smart_borders on
|
smart_borders on
|
||||||
default_border pixel 2
|
default_border pixel 2
|
||||||
@@ -75,7 +75,7 @@ default_border pixel 2
|
|||||||
# Read `man 5 sway-input` for more information about this section.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
input "1452:657:bcm5974" {
|
input "1452:657:bcm5974" {
|
||||||
dwt enabled
|
dwt disabled
|
||||||
tap enabled
|
tap enabled
|
||||||
middle_emulation enabled
|
middle_emulation enabled
|
||||||
}
|
}
|
||||||
@@ -166,7 +166,7 @@ input "1452:657:bcm5974" {
|
|||||||
bindsym $mod+v splitv
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
# Switch the current container between different layout styles
|
# Switch the current container between different layout styles
|
||||||
bindsym $mod+s layout stacking
|
bindsym $mod+n layout stacking # n for normal
|
||||||
bindsym $mod+w layout tabbed
|
bindsym $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
@@ -246,19 +246,23 @@ bar {
|
|||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
# Brightness
|
# Brightness
|
||||||
bindsym XF86MonBrightnessDown exec light -U 10
|
bindsym XF86MonBrightnessDown exec light -U 5
|
||||||
bindsym XF86MonBrightnessUp exec light -A 10
|
bindsym XF86MonBrightnessUp exec light -A 5
|
||||||
bindsym XF86KbdBrightnessUp exec light -As "sysfs/leds/smc::kbd_backlight" 10
|
bindsym XF86KbdBrightnessUp exec light -As "sysfs/leds/smc::kbd_backlight" 10
|
||||||
bindsym XF86KbdBrightnessDown exec light -Us "sysfs/leds/smc::kbd_backlight" 10
|
bindsym XF86KbdBrightnessDown exec light -Us "sysfs/leds/smc::kbd_backlight" 10
|
||||||
# Volume
|
# Volume
|
||||||
bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +1%'
|
bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +5%'
|
||||||
bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -1%'
|
bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -5%'
|
||||||
bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
|
bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
|
||||||
bindsym XF86AudioPlay exec 'playerctl play-pause'
|
bindsym XF86AudioPlay exec 'playerctl play-pause'
|
||||||
bindsym XF86AudioPause exec 'playerctl play-pause'
|
bindsym XF86AudioPause exec 'playerctl play-pause'
|
||||||
bindsym XF86AudioNext exec 'playerctl next'
|
bindsym XF86AudioNext exec 'playerctl next'
|
||||||
bindsym XF86AudioPrev exec 'playerctl previous'
|
bindsym XF86AudioPrev exec 'playerctl previous'
|
||||||
bindsym XF86AudioStop exec 'playerctl stop'
|
bindsym XF86AudioStop exec 'playerctl stop'
|
||||||
|
bindsym XF86LaunchA exec 'swaymsg input type:touchpad events toggle enabled disabled'
|
||||||
|
# Screenshot
|
||||||
|
bindsym $mod+Shift+s exec 'grim -g "$(slurp)" - | wl-copy'
|
||||||
|
bindsym $mod+Shift+Slash exec 'notify-send "HELP! 1" "START + D - Look for program; librewolf = internet; pavucontrol = audio;" ; notify-send "HELP! 2" "START + 1/2.. change workspace number; you can see current workspace on the lit up number at the bottom of the screen" ; notify-send "HELP! 3" "SHIFT + START + E Exit Sway; SHIFT + START + F Fullscreen on/off ---- Just click the notification to close it"'
|
||||||
|
|
||||||
exec mako
|
exec mako
|
||||||
exec evolution
|
exec planify
|
||||||
|
|||||||
Reference in New Issue
Block a user