Dotfiles config update (2021-12-04)

This commit is contained in:
q3aql 2021-12-04 21:33:24 +01:00
parent 8a4cd2f811
commit 7b759b3493
8 changed files with 142 additions and 98 deletions

View File

@ -51,8 +51,8 @@ exec --no-startup-id "sleep 5 && xscreensaver &"
# Use pactl to adjust volume in PulseAudio. # Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
bindsym XF86AudioLowerVolume 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@ -5% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
@ -60,7 +60,8 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
floating_modifier $mod floating_modifier $mod
# New windows without borders # New windows without borders
new_window 1pixel #new_window 1pixel
new_window pixel 3
# start a terminal # start a terminal
#bindsym $mod+Return exec i3-sensible-terminal #bindsym $mod+Return exec i3-sensible-terminal
@ -78,23 +79,24 @@ bindsym $mod+d exec --no-startup-id dmenu_run
# .desktop file. It is a wrapper around dmenu, so you need that installed. # .desktop file. It is a wrapper around dmenu, so you need that installed.
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
# Run rofi options # NetworkManager
bindsym $mod+x exec --no-startup-id rofi -show run #bindsym $mod+c exec --no-startup-id connman-gtk --no-icon
bindsym $mod+c exec --no-startup-id rofi -show window bindsym $mod+c exec --no-startup-id nm-connection-editor
bindsym $mod+o exec --no-startup-id "rofi -modi drun,run -show drun"
# Run applications # Run applications
bindsym $mod+o exec --no-startup-id "rofi -modi drun,run -show drun"
bindsym $mod+q exec --no-startup-id rofi -show window
bindsym $mod+x exec --no-startup-id lxrandr
bindsym $mod+b exec --no-startup-id firefox bindsym $mod+b exec --no-startup-id firefox
bindsym $mod+n exec --no-startup-id pcmanfm bindsym $mod+n exec --no-startup-id pcmanfm
bindsym $mod+p exec --no-startup-id xfce4-screenshooter bindsym $mod+p exec --no-startup-id rofi -show run
bindsym $mod+g exec --no-startup-id geany bindsym $mod+g exec --no-startup-id geany
bindsym $mod+m exec --no-startup-id telegram bindsym $mod+m exec --no-startup-id telegram
bindsym $mod+z exec --no-startup-id signal bindsym $mod+z exec --no-startup-id nitrogen
bindsym $mod+u exec --no-startup-id lxrandr bindsym $mod+u exec --no-startup-id xterm
bindsym $mod+t exec --no-startup-id xterm bindsym $mod+t exec --no-startup-id rofi-theme-selector
bindsym $mod+i exec --no-startup-id lxappearance bindsym $mod+i exec --no-startup-id lxappearance
# change focus # change focus
bindsym $mod+j focus left bindsym $mod+j focus left
bindsym $mod+k focus down bindsym $mod+k focus down
@ -176,40 +178,72 @@ bindsym $mod+a focus parent
# Define names for default workspaces for which we configure key bindings later on. # Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places. # We use variables to avoid repeating the names in multiple places.
set $ws1 "1" #set $ws1 "1"
set $ws2 "2" #set $ws2 "2"
set $ws3 "3" #set $ws3 "3"
set $ws4 "4" #set $ws4 "4"
set $ws5 "5" #set $ws5 "5"
set $ws6 "6" #set $ws6 "6"
set $ws7 "7" #set $ws7 "7"
set $ws8 "8" #set $ws8 "8"
set $ws9 "9" #set $ws9 "9"
set $ws10 "10" #set $ws10 "10"
# switch to workspace # switch to workspace
bindsym $mod+1 workspace number $ws1 bindsym $mod+1 workspace number 1 term
bindsym $mod+2 workspace number $ws2 bindsym $mod+2 workspace number 2 www
bindsym $mod+3 workspace number $ws3 bindsym $mod+3 workspace number 3 chat
bindsym $mod+4 workspace number $ws4 bindsym $mod+4 workspace number 4 files
bindsym $mod+5 workspace number $ws5 bindsym $mod+5 workspace number 5 media
bindsym $mod+6 workspace number $ws6 bindsym $mod+6 workspace number 6 game
bindsym $mod+7 workspace number $ws7 bindsym $mod+7 workspace number 7 mail
bindsym $mod+8 workspace number $ws8 bindsym $mod+8 workspace number 8 dev
bindsym $mod+9 workspace number $ws9 bindsym $mod+9 workspace number 9 vm
bindsym $mod+0 workspace number $ws10 bindsym $mod+0 workspace number 10 all
# move focused container to workspace # move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number $ws1 bindsym $mod+Shift+1 move container to workspace number 1 term
bindsym $mod+Shift+2 move container to workspace number $ws2 bindsym $mod+Shift+2 move container to workspace number 2 www
bindsym $mod+Shift+3 move container to workspace number $ws3 bindsym $mod+Shift+3 move container to workspace number 3 chat
bindsym $mod+Shift+4 move container to workspace number $ws4 bindsym $mod+Shift+4 move container to workspace number 4 files
bindsym $mod+Shift+5 move container to workspace number $ws5 bindsym $mod+Shift+5 move container to workspace number 5 media
bindsym $mod+Shift+6 move container to workspace number $ws6 bindsym $mod+Shift+6 move container to workspace number 6 game
bindsym $mod+Shift+7 move container to workspace number $ws7 bindsym $mod+Shift+7 move container to workspace number 7 mail
bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+8 move container to workspace number 8 dev
bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+9 move container to workspace number 9 vm
bindsym $mod+Shift+0 move container to workspace number $ws10 bindsym $mod+Shift+0 move container to workspace number 10 all
# force a window on a named workspace
assign [class="Firefox"] 2 www
assign [class="mpv"] 5 media
assign [class="vlc"] 5 media
assign [class="Ristretto"] 5 media
assign [class="Gimp"] 5 media
assign [class="Gimp-2.10"] 5 media
assign [class="Mozilla VPN"] 2 www
assign [class="XTerm"] 1 term
assign [class="VirtualBoxVM"] 9 vm
assign [class="VirtualBox Machine"] 9 vm
assign [class="Steam"] 6 game
assign [class="Telegram"] 3 chat
assign [class="Signal"] 3 chat
assign [class="Pcmanfm"] 4 files
assign [class="Mousepad"] 8 dev
assign [class="Geany"] 8 dev
# force floatin windows
for_window [class="Pavucontrol" instance="pavucontrol"] floating enable
for_window [class="Nitrogen" instance="nitrogen"] floating enable
for_window [class="Lxrandr" instance="lxrandr"] floating enable
for_window [class="Connman-gtk" instance="connman-gtk"] floating enable
for_window [class="Nm-connection-editor" instance="nm-connection-editor"] floating enable
for_window [class="vlc" instance="vlc"] floating enable
for_window [class="mpv" instance="gl"] floating enable
for_window [class="Engrampa" instance="engrampa"] floating enable
for_window [class="Xarchiver" instance="xarchiver"] floating enable
for_window [class="Ristretto" instance="ristretto"] floating enable
for_window [class="Mozilla VPN" instance="mozillavpn"] floating enable
for_window [class="Lxappearance" instance="lxappearance"] floating enable
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload

View File

@ -11,39 +11,44 @@
[KERNEL] [KERNEL]
command=~/.config/i3blocks/kernel/kernel_version.sh command=~/.config/i3blocks/kernel/kernel_version.sh
interval=300 interval=300
color=#FEC925 color=#7ECEF1
[CPU]
#full_text= CPU: 0.00% @ +00.0°C
command=~/.config/i3blocks/cpu/cpu_info.sh
interval=2
color=#C16BD8
[MEM]
command=free -h | awk '/Mem:/ { printf(" %5s / %s \n", $3, $2) }'
interval=1
color=#BBDD96
[DISK] [DISK]
command=df -h / | awk '/\//{ printf(" 💾 %4s/%s \n", $4, $2) }' command=df -h / | awk '/\//{ printf(" %4s / %s \n", $4, $2) }'
interval=2 interval=2
color=#C9E3DB color=#A66167
#[BATTERY] #[BATTERY]
#command=~/.config/i3blocks/battery/battery_info.sh #command=~/.config/i3blocks/battery/battery_info.sh
#interval=3 #interval=3
[CPU] #[SOUND_BURST]
full_text= CPU: 0.00% @ +00.0°C #command=~/.config/i3blocks/sound/sound_burst.sh
command=~/.config/i3blocks/cpu/cpu_info.sh #command=amixer get Master | awk -F'[][]' 'END{ print $4":"$2 }' | sed 's/on://g'
interval=2 #interval=once
color=#00B4EB #color=#C3CD72
[MEM]
command=free -h | awk '/Mem:/ { printf(" 🐏 %5s/%s \n", $3, $2) }'
interval=1
color=#FEC925
[SOUND_BURST]
command=~/.config/i3blocks/sound/sound_burst.sh
interval=once
[SOUND] [SOUND]
full_text= 🔇: 0% #full_text= 🔇: 0%
command=~/.config/i3blocks/sound/sound_info.sh #command=~/.config/i3blocks/sound/sound_info.sh
command=amixer get Master | awk -F'[][]' 'END{ print $4":"$2 }' | sed 's/on://g'
interval=2 interval=2
signal=1 signal=1
color=#C3CD72
[TIME_DATE] [TIME_DATE]
command=date +" %a, %d %b - %H:%M"\ \ command=date +" %a, %d %b - %H:%M"\ \
interval=1 interval=1
color=#7ECEF1

View File

@ -28,5 +28,6 @@ kernelVersion=${kernelVersion}${kernelVersionTempDot}
# Apply arch # Apply arch
kernelVersion=${kernelVersion}-${archCommand} kernelVersion=${kernelVersion}-${archCommand}
echo "Kernel: Linux ${kernelVersion} " #echo "Kernel: Linux ${kernelVersion} "
echo "Linux ${kernelVersion} "

View File

@ -9,5 +9,5 @@ diodon &
pnmixer -t & pnmixer -t &
# Network Tray (Use Win + Shift + t to show it) # Network Tray (Use Win + Shift + t to show it)
#nm-applet & nm-applet &
connman-gtk --tray & #connman-gtk --tray &

View File

@ -109,22 +109,26 @@ dotfiles - My tiling i3 WM Configuration (for Devuan/Debian)
My list of extra combinations: My list of extra combinations:
- Win + d = Open Dmenu - Super + d = Open Dmenu
- Win + x = Open Rofi (run mode) - Super + p = Open Rofi (run mode)
- Win + c = Open Rofi (window mode) - Super + q = Open Rofi (window mode)
- Win + o = Open Rofi (drun mode) - Super + o = Open Rofi (drun mode)
- Win + b = Open Firefox - Super + b = Open Firefox
- Win + n = Open PCManFM - Super + n = Open PCManFM
- Win + p = Open Screenshot - Super + t = Open Rofi Theme Selector
- Win + g = Open Geany - Super + g = Open Geany
- Win + m = Open Telegram - Super + m = Open Telegram
- Win + z = Open Signal - Super + z = Open Nitrogen
- Win + u = Open LXRandr - Super + x = Open LXRandr
- Win + t = Open Xterm - Super + u = Open Xterm
- Win + i = Open LXAppearance - Super + i = Open LXAppearance
- Win + Ctrl + Shift + e = Poweroff screen - Super + c = Open NetWorkManager
- Win + Shit + e = Logout - Volume-Up = Volume +5
- Win + Backspace = Open menu Logout/Lock/Reboot/Shutdown - Volume-Down = Volume -5
- VolumeMute = Mute Volume
- Super + Ctrl + Shift + e = Poweroff screen
- Super + Shit + e = Logout
- Super + Backspace = Open menu Logout/Lock/Reboot/Shutdown
### External links: ### External links:

View File

@ -101,24 +101,24 @@ dotfiles - My tiling Spectrwm & i3 WM Configuration (for Devuan/Debian)
My list of extra combinations: My list of extra combinations:
- Win + d = Open Rofi Theme selector - Super + d = Open Rofi Theme selector
- Win + x = Close Window - Super + x = Close Window
- Win + w = Minimize Window - Super + w = Minimize Window
- Win + Shift + w = Maximize/Search Window - Super + Shift + w = Maximize/Search Window
- Win + Shift + t = Show/Hide Tray - Super + Shift + t = Show/Hide Tray
- Win + c = Open network configuration - Super + c = Open network configuration
- Win + v = Open volume configuration (Pavucontrol) - Super + v = Open volume configuration (Pavucontrol)
- Win + Return = Open terminal (Alacritty) - Super + Return = Open terminal (Alacritty)
- Win + n = Open PCManFM - Super + n = Open PCManFM
- Win + p = Open Rofi (exec program) - Super + p = Open Rofi (exec program)
- Win + o = Open Rofi (exec menu program) - Super + o = Open Rofi (exec menu program)
- Win + z = Open Wallpaper selector (Nitrogen) - Super + z = Open Wallpaper selector (Nitrogen)
- Win + x = Open LXRandr - Super + x = Open LXRandr
- Win + u = Open Xterm - Super + u = Open Xterm
- Win + i = Open LXAppearance - Super + i = Open LXAppearance
- Win + s = Open Xfce4-Screenshot - Super + s = Open Xfce4-Screenshot
- Win + Delete = Poweroff screen - Super + Delete = Poweroff screen
- Win + Shift + Delete = Close session - Super + Shift + Delete = Close session
- Volume-Up = Volume +5 - Volume-Up = Volume +5
- Volume-Down = Volume -5 - Volume-Down = Volume -5
- VolumeMute = Mute Volume - VolumeMute = Mute Volume

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 986 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB