Update configs
This commit is contained in:
parent
de152d1212
commit
32d9cae95f
|
@ -36,7 +36,8 @@ bindsym $mod+Return exec i3-sensible-terminal
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec rofi -show run
|
bindsym $mod+d exec rofi -modi drun -show drun
|
||||||
|
bindsym $mod+Tab exec rofi -modi window -show window
|
||||||
# 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.
|
||||||
|
@ -69,7 +70,7 @@ bindsym $mod+Shift+Right move right
|
||||||
# split in horizontal orientation
|
# split in horizontal orientation
|
||||||
bindsym $mod+h split h
|
bindsym $mod+h split h
|
||||||
|
|
||||||
# split in vertical orientation
|
# split i
|
||||||
bindsym $mod+v split v
|
bindsym $mod+v split v
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
|
@ -136,6 +137,8 @@ bindsym $mod+b workspace back_and_forth
|
||||||
bindsym $mod+comma move workspace to ouput left
|
bindsym $mod+comma move workspace to ouput left
|
||||||
bindsym $mod+period move workspace to ouput right
|
bindsym $mod+period move workspace to ouput right
|
||||||
|
|
||||||
|
# Screenshot
|
||||||
|
bindsym Print exec gnome-screenshot
|
||||||
|
|
||||||
# Next | Prev worksapce
|
# Next | Prev worksapce
|
||||||
bindsym $mod+Next workspace next
|
bindsym $mod+Next workspace next
|
||||||
|
@ -177,8 +180,9 @@ exec --no-startup-id $HOME/bin/startconky.sh
|
||||||
# Redshift
|
# Redshift
|
||||||
exec --no-startup-id redshift || redshift -l 48.15:17.10
|
exec --no-startup-id redshift || redshift -l 48.15:17.10
|
||||||
|
|
||||||
# Always float Nemo
|
# Float Nemo
|
||||||
for_window [class="Nemo"] floating enable
|
bindsym $mod+Shift+n exec nemo --class floatingNemo
|
||||||
|
for_window [class="^floatingNemo$"] floating enable
|
||||||
|
|
||||||
# Launch Nemo
|
# Launch Nemo
|
||||||
bindsym $mod+n exec nemo
|
bindsym $mod+n exec nemo
|
||||||
|
|
|
@ -49,7 +49,7 @@ font-2 = Weather Icons:size=10;1
|
||||||
|
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-center = datetime openweathermap
|
modules-center = datetime openweathermap
|
||||||
modules-right = updates pulseaudio-tail wlan eth xkeyboard battery powermenu
|
modules-right = system-usb-udev updates pulseaudio-tail wlan eth xkeyboard battery powermenu
|
||||||
|
|
||||||
tray-detached = false
|
tray-detached = false
|
||||||
tray-position = left
|
tray-position = left
|
||||||
|
@ -192,18 +192,25 @@ interval = 300
|
||||||
|
|
||||||
click-left = gsimplecal
|
click-left = gsimplecal
|
||||||
|
|
||||||
|
[module/system-usb-udev]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/bin/system-usb-udev.sh
|
||||||
|
tail = true
|
||||||
|
click-left = ~/bin/system-usb-udev.sh --mount
|
||||||
|
click-right = ~/bin/system-usb-udev.sh --unmount
|
||||||
|
|
||||||
[module/pulseaudio-tail]
|
[module/pulseaudio-tail]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/bin/pulseaudio-tail.sh
|
exec = ~/bin/pulseaudio-tail.sh 2> /dev/null
|
||||||
tail = true
|
tail = true
|
||||||
click-right = ~/bin/pulseaudio-tail.sh --show
|
click-right = ~/bin/pulseaudio-tail.sh --show 2> /dev/null
|
||||||
click-left = ~/bin/pulseaudio-tail.sh --mute
|
click-left = ~/bin/pulseaudio-tail.sh --mute 2> /dev/null
|
||||||
scroll-up = ~/bin/pulseaudio-tail.sh --up
|
scroll-up = ~/bin/pulseaudio-tail.sh --up 2> /dev/null
|
||||||
scroll-down = ~/bin/pulseaudio-tail.sh --down
|
scroll-down = ~/bin/pulseaudio-tail.sh --down 2> /dev/null
|
||||||
|
|
||||||
[module/updates]
|
[module/updates]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/bin/updates.sh
|
exec = ~/bin/updates.sh 2> /dev/null
|
||||||
interval = 600
|
interval = 600
|
||||||
format-prefix = ""
|
format-prefix = ""
|
||||||
format-underline = ${colors.alert}
|
format-underline = ${colors.alert}
|
||||||
|
@ -212,7 +219,7 @@ format-underline = ${colors.alert}
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
battery = BAT0
|
battery = BAT0
|
||||||
adapter = AC
|
adapter = AC
|
||||||
full-at = 97
|
full-at = 96
|
||||||
|
|
||||||
format-charging = <label-charging>
|
format-charging = <label-charging>
|
||||||
format-charging-underline = ${colors.secondary}
|
format-charging-underline = ${colors.secondary}
|
||||||
|
|
|
@ -25,7 +25,7 @@ gap_y=200,
|
||||||
minimum_width=1920,
|
minimum_width=1920,
|
||||||
|
|
||||||
own_window=true,
|
own_window=true,
|
||||||
own_window_type="desktop",
|
own_window_type="override",
|
||||||
own_window_transparent=true,
|
own_window_transparent=true,
|
||||||
own_window_hints="undecorated,below,sticky,skip_taskbar,skip_pager",
|
own_window_hints="undecorated,below,sticky,skip_taskbar,skip_pager",
|
||||||
|
|
||||||
|
@ -56,4 +56,4 @@ default_color='FFFFFF',
|
||||||
|
|
||||||
conky.text = [[
|
conky.text = [[
|
||||||
${font Poiret One:weight=Bold:size=30}${alignc}${execi 60 bash-fuzzy-clock}
|
${font Poiret One:weight=Bold:size=30}${alignc}${execi 60 bash-fuzzy-clock}
|
||||||
]]
|
]]
|
||||||
|
|
|
@ -2,16 +2,6 @@
|
||||||
|
|
||||||
sink=0
|
sink=0
|
||||||
|
|
||||||
show_active() {
|
|
||||||
if pacmd list-sinks | grep active | head -n 1 | grep -q speaker; then
|
|
||||||
echo "speaker"
|
|
||||||
elif pacmd list-sinks | grep active | head -n 1 | grep headphones; then
|
|
||||||
echo "headphones"
|
|
||||||
else
|
|
||||||
echo "hdmi"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
volume_up() {
|
volume_up() {
|
||||||
pactl set-sink-volume $sink +1%
|
pactl set-sink-volume $sink +1%
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
updates_arch=$(checkupdates | wc -l)
|
updates_arch=$(checkupdates | wc -l)
|
||||||
updates_aur=$(pacaur -k | wc -l)
|
|
||||||
|
|
||||||
updates=$(("$updates_arch" + "$updates_aur"))
|
if [ "$updates_arch" -gt 0 ]; then
|
||||||
|
echo " $updates_arch"
|
||||||
if [ "$updates" -gt 0 ]; then
|
|
||||||
echo " $updates"
|
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue