diff --git a/.config/i3/config b/.config/i3/config index fa5c4fe..80ce048 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -51,8 +51,8 @@ exec --no-startup-id "sleep 5 && xscreensaver &" # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status -bindsym XF86AudioRaiseVolume 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@ -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@ -5% && $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 @@ -60,7 +60,8 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU floating_modifier $mod # New windows without borders -new_window 1pixel +#new_window 1pixel +new_window pixel 3 # start a 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. # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop -# Run rofi options -bindsym $mod+x exec --no-startup-id rofi -show run -bindsym $mod+c exec --no-startup-id rofi -show window -bindsym $mod+o exec --no-startup-id "rofi -modi drun,run -show drun" +# NetworkManager +#bindsym $mod+c exec --no-startup-id connman-gtk --no-icon +bindsym $mod+c exec --no-startup-id nm-connection-editor # 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+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+m exec --no-startup-id telegram -bindsym $mod+z exec --no-startup-id signal -bindsym $mod+u exec --no-startup-id lxrandr -bindsym $mod+t exec --no-startup-id xterm +bindsym $mod+z exec --no-startup-id nitrogen +bindsym $mod+u exec --no-startup-id xterm +bindsym $mod+t exec --no-startup-id rofi-theme-selector bindsym $mod+i exec --no-startup-id lxappearance - # change focus bindsym $mod+j focus left 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. # We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" +#set $ws1 "1" +#set $ws2 "2" +#set $ws3 "3" +#set $ws4 "4" +#set $ws5 "5" +#set $ws6 "6" +#set $ws7 "7" +#set $ws8 "8" +#set $ws9 "9" +#set $ws10 "10" # switch to workspace -bindsym $mod+1 workspace number $ws1 -bindsym $mod+2 workspace number $ws2 -bindsym $mod+3 workspace number $ws3 -bindsym $mod+4 workspace number $ws4 -bindsym $mod+5 workspace number $ws5 -bindsym $mod+6 workspace number $ws6 -bindsym $mod+7 workspace number $ws7 -bindsym $mod+8 workspace number $ws8 -bindsym $mod+9 workspace number $ws9 -bindsym $mod+0 workspace number $ws10 +bindsym $mod+1 workspace number 1 term +bindsym $mod+2 workspace number 2 www +bindsym $mod+3 workspace number 3 chat +bindsym $mod+4 workspace number 4 files +bindsym $mod+5 workspace number 5 media +bindsym $mod+6 workspace number 6 game +bindsym $mod+7 workspace number 7 mail +bindsym $mod+8 workspace number 8 dev +bindsym $mod+9 workspace number 9 vm +bindsym $mod+0 workspace number 10 all # move focused container to workspace -bindsym $mod+Shift+1 move container to workspace number $ws1 -bindsym $mod+Shift+2 move container to workspace number $ws2 -bindsym $mod+Shift+3 move container to workspace number $ws3 -bindsym $mod+Shift+4 move container to workspace number $ws4 -bindsym $mod+Shift+5 move container to workspace number $ws5 -bindsym $mod+Shift+6 move container to workspace number $ws6 -bindsym $mod+Shift+7 move container to workspace number $ws7 -bindsym $mod+Shift+8 move container to workspace number $ws8 -bindsym $mod+Shift+9 move container to workspace number $ws9 -bindsym $mod+Shift+0 move container to workspace number $ws10 +bindsym $mod+Shift+1 move container to workspace number 1 term +bindsym $mod+Shift+2 move container to workspace number 2 www +bindsym $mod+Shift+3 move container to workspace number 3 chat +bindsym $mod+Shift+4 move container to workspace number 4 files +bindsym $mod+Shift+5 move container to workspace number 5 media +bindsym $mod+Shift+6 move container to workspace number 6 game +bindsym $mod+Shift+7 move container to workspace number 7 mail +bindsym $mod+Shift+8 move container to workspace number 8 dev +bindsym $mod+Shift+9 move container to workspace number 9 vm +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 bindsym $mod+Shift+c reload diff --git a/.config/i3blocks/config b/.config/i3blocks/config index 395868e..c6bd75c 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -11,39 +11,44 @@ [KERNEL] command=~/.config/i3blocks/kernel/kernel_version.sh 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] -command=df -h / | awk '/\//{ printf(" 💾 %4s/%s \n", $4, $2) }' +command=df -h / | awk '/\//{ printf(" %4s / %s \n", $4, $2) }' interval=2 -color=#C9E3DB +color=#A66167 #[BATTERY] #command=~/.config/i3blocks/battery/battery_info.sh #interval=3 -[CPU] -full_text= CPU: 0.00% @ +00.0°C -command=~/.config/i3blocks/cpu/cpu_info.sh -interval=2 -color=#00B4EB - -[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_BURST] +#command=~/.config/i3blocks/sound/sound_burst.sh +#command=amixer get Master | awk -F'[][]' 'END{ print $4":"$2 }' | sed 's/on://g' +#interval=once +#color=#C3CD72 [SOUND] -full_text= 🔇: 0% -command=~/.config/i3blocks/sound/sound_info.sh +#full_text= 🔇: 0% +#command=~/.config/i3blocks/sound/sound_info.sh +command=amixer get Master | awk -F'[][]' 'END{ print $4":"$2 }' | sed 's/on://g' interval=2 signal=1 +color=#C3CD72 [TIME_DATE] command=date +" %a, %d %b - %H:%M"\ \ interval=1 +color=#7ECEF1 diff --git a/.config/i3blocks/kernel/kernel_version.sh b/.config/i3blocks/kernel/kernel_version.sh index edf15be..5107aaf 100755 --- a/.config/i3blocks/kernel/kernel_version.sh +++ b/.config/i3blocks/kernel/kernel_version.sh @@ -28,5 +28,6 @@ kernelVersion=${kernelVersion}${kernelVersionTempDot} # Apply arch kernelVersion=${kernelVersion}-${archCommand} -echo "Kernel: Linux ${kernelVersion} " +#echo "Kernel: Linux ${kernelVersion} " +echo "Linux ${kernelVersion} " diff --git a/.config/spectrwm/autostart.sh b/.config/spectrwm/autostart.sh index 8b4beef..af08883 100755 --- a/.config/spectrwm/autostart.sh +++ b/.config/spectrwm/autostart.sh @@ -9,5 +9,5 @@ diodon & pnmixer -t & # Network Tray (Use Win + Shift + t to show it) -#nm-applet & -connman-gtk --tray & +nm-applet & +#connman-gtk --tray & diff --git a/README-i3.md b/README-i3.md index 9f74c15..1fc991f 100644 --- a/README-i3.md +++ b/README-i3.md @@ -109,22 +109,26 @@ dotfiles - My tiling i3 WM Configuration (for Devuan/Debian) My list of extra combinations: - - Win + d = Open Dmenu - - Win + x = Open Rofi (run mode) - - Win + c = Open Rofi (window mode) - - Win + o = Open Rofi (drun mode) - - Win + b = Open Firefox - - Win + n = Open PCManFM - - Win + p = Open Screenshot - - Win + g = Open Geany - - Win + m = Open Telegram - - Win + z = Open Signal - - Win + u = Open LXRandr - - Win + t = Open Xterm - - Win + i = Open LXAppearance - - Win + Ctrl + Shift + e = Poweroff screen - - Win + Shit + e = Logout - - Win + Backspace = Open menu Logout/Lock/Reboot/Shutdown + - Super + d = Open Dmenu + - Super + p = Open Rofi (run mode) + - Super + q = Open Rofi (window mode) + - Super + o = Open Rofi (drun mode) + - Super + b = Open Firefox + - Super + n = Open PCManFM + - Super + t = Open Rofi Theme Selector + - Super + g = Open Geany + - Super + m = Open Telegram + - Super + z = Open Nitrogen + - Super + x = Open LXRandr + - Super + u = Open Xterm + - Super + i = Open LXAppearance + - Super + c = Open NetWorkManager + - Volume-Up = Volume +5 + - 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: diff --git a/README.md b/README.md index c6b8186..ee4f1ef 100644 --- a/README.md +++ b/README.md @@ -101,24 +101,24 @@ dotfiles - My tiling Spectrwm & i3 WM Configuration (for Devuan/Debian) My list of extra combinations: - - Win + d = Open Rofi Theme selector - - Win + x = Close Window - - Win + w = Minimize Window - - Win + Shift + w = Maximize/Search Window - - Win + Shift + t = Show/Hide Tray - - Win + c = Open network configuration - - Win + v = Open volume configuration (Pavucontrol) - - Win + Return = Open terminal (Alacritty) - - Win + n = Open PCManFM - - Win + p = Open Rofi (exec program) - - Win + o = Open Rofi (exec menu program) - - Win + z = Open Wallpaper selector (Nitrogen) - - Win + x = Open LXRandr - - Win + u = Open Xterm - - Win + i = Open LXAppearance - - Win + s = Open Xfce4-Screenshot - - Win + Delete = Poweroff screen - - Win + Shift + Delete = Close session + - Super + d = Open Rofi Theme selector + - Super + x = Close Window + - Super + w = Minimize Window + - Super + Shift + w = Maximize/Search Window + - Super + Shift + t = Show/Hide Tray + - Super + c = Open network configuration + - Super + v = Open volume configuration (Pavucontrol) + - Super + Return = Open terminal (Alacritty) + - Super + n = Open PCManFM + - Super + p = Open Rofi (exec program) + - Super + o = Open Rofi (exec menu program) + - Super + z = Open Wallpaper selector (Nitrogen) + - Super + x = Open LXRandr + - Super + u = Open Xterm + - Super + i = Open LXAppearance + - Super + s = Open Xfce4-Screenshot + - Super + Delete = Poweroff screen + - Super + Shift + Delete = Close session - Volume-Up = Volume +5 - Volume-Down = Volume -5 - VolumeMute = Mute Volume diff --git a/examples/i3wm.png b/examples/i3wm.png index 373f698..8d2186a 100644 Binary files a/examples/i3wm.png and b/examples/i3wm.png differ diff --git a/examples/spectrwm.png b/examples/spectrwm.png index c423413..f2602ca 100644 Binary files a/examples/spectrwm.png and b/examples/spectrwm.png differ