Dotfiles config update (2022-05-01)
|
@ -283,8 +283,8 @@ bindsym $mod+r mode "resize"
|
|||
# finds out, if available)
|
||||
bar {
|
||||
position top
|
||||
#i3bar_command $HOME/.config/polybar/launch.sh
|
||||
status_command i3status
|
||||
i3bar_command $HOME/.config/polybar/launch.sh
|
||||
#status_command i3status
|
||||
#status_command i3blocks
|
||||
#tray_output DisplayPort-0
|
||||
colors {
|
||||
|
|
|
@ -30,7 +30,7 @@ light-blue = ${xrdb: color4}
|
|||
light-pink = ${xrdb: color5}
|
||||
light-green = ${xrdb: color6}
|
||||
|
||||
padding = 2
|
||||
padding = 1
|
||||
|
||||
[bar/mainbar-i3]
|
||||
monitor = ${env:MONITOR:}
|
||||
|
@ -51,7 +51,7 @@ background = #2b303b
|
|||
foreground = #ADBAC7
|
||||
underline = #664477
|
||||
|
||||
line-size = 2
|
||||
line-size = 0
|
||||
;line-color = #f004477
|
||||
line-color = #9fa8af
|
||||
|
||||
|
@ -66,16 +66,17 @@ padding-right = 0
|
|||
module-margin-left = 0
|
||||
module-margin-right = 0
|
||||
|
||||
font-0 = "Noto Sans:size=10;0"
|
||||
font-0 = "UbuntuMono Nerd Font:size=11;0"
|
||||
font-1 = "FontAwesome:size=10;0"
|
||||
font-2 = "Noto Sans:size=10;0"
|
||||
font-3 = "Noto Sans Mono:size=10;0"
|
||||
|
||||
modules-left = i3
|
||||
; modules-center = calendar date
|
||||
modules-right = kernel cpu meminfo diskinfo pulseaudio wlan eth0 date
|
||||
; modules-right = checkupdate kernel cpu meminfo diskinfo pulseaudio wlan eth0 date
|
||||
modules-right = checkupdate ikernel icpu imeminfo getvolume currentdate
|
||||
tray-position = right
|
||||
;tray-margin = 0
|
||||
tray-margin = 0
|
||||
;tray-background = #222133
|
||||
tray-background = #2b303b
|
||||
|
||||
|
@ -132,7 +133,7 @@ module-margin-left = 1
|
|||
module-margin-right = 0
|
||||
|
||||
;https://github.com/jaagr/polybar/wiki/Fonts
|
||||
font-0 = "Noto Sans:size=10;0"
|
||||
font-0 = "UbuntuMono Nerd Font:size=11;0"
|
||||
font-1 = "FontAwesome:size=10;0"
|
||||
font-2 = "Noto Sans:size=10;0"
|
||||
font-3 = "Noto Sans Mono:size=10;0"
|
||||
|
@ -141,12 +142,13 @@ font-3 = "Noto Sans Mono:size=10;0"
|
|||
modules-left = ewmh
|
||||
;modules-center = kernel
|
||||
;modules-right = pavolume memory2 cpu2 date
|
||||
modules-right = kernel cpu meminfo diskinfo pulseaudio date
|
||||
; modules-right = kernel cpu meminfo diskinfo pulseaudio date
|
||||
modules-right = checkupdate ikernelnum icpu imeminfo getvolume currentdate
|
||||
|
||||
;tray-detached = false
|
||||
;tray-offset-x = 0
|
||||
;tray-offset-y = 0
|
||||
;tray-padding = 2
|
||||
tray-padding = 0
|
||||
;tray-maxsize = 20
|
||||
;tray-scale = 1.0
|
||||
tray-position = right
|
||||
|
@ -177,29 +179,29 @@ enable-scroll = true
|
|||
reverse-scroll = true
|
||||
|
||||
#icon-5 = 6;
|
||||
format = <label-state>
|
||||
label-monitor = %name%
|
||||
;format = <label-state>
|
||||
;label-monitor = %name%
|
||||
|
||||
label-active = %name%
|
||||
label-active = " %name% "
|
||||
label-active-foreground = ${colors.foreground}
|
||||
;label-active-background = ${colors.background}
|
||||
label-active-background = #42516d
|
||||
label-active-underline= #dbdbdb
|
||||
label-active-padding = 2
|
||||
label-active-padding = 0
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied = " %name% "
|
||||
label-occupied-background = ${colors.background}
|
||||
label-occupied-padding = 2
|
||||
label-occupied-padding = 0
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent = " %name% "
|
||||
label-urgent-foreground = ${colors.foreground}
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-underline = ${colors.alert}
|
||||
label-urgent-padding = 2
|
||||
label-urgent-padding = 0
|
||||
|
||||
label-empty = %name%
|
||||
label-empty = " %name% "
|
||||
label-empty-foreground = ${colors.foreground}
|
||||
label-empty-padding = 2
|
||||
label-empty-padding = 0
|
||||
format-foreground = ${colors.foreground}
|
||||
format-background = ${colors.background}
|
||||
|
||||
|
@ -209,6 +211,18 @@ type = custom/script
|
|||
exec = ~/.config/polybar/scripts/kernel_version.sh
|
||||
interval = 10
|
||||
|
||||
[module/ikernel]
|
||||
format-foreground = #51A6E3
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/iscripts/kernel_version.sh
|
||||
interval = 10
|
||||
|
||||
[module/ikernelnum]
|
||||
format-foreground = #51A6E3
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/iscripts/kernel_version_num.sh
|
||||
interval = 10
|
||||
|
||||
[module/cpu]
|
||||
;type = internal/cpu
|
||||
format-foreground = #B63CEC
|
||||
|
@ -220,6 +234,28 @@ type = custom/script
|
|||
exec = ~/.config/polybar/scripts/cpu_info.sh
|
||||
interval = 0.5
|
||||
|
||||
[module/icpu]
|
||||
;type = internal/cpu
|
||||
format-foreground = #B63CEC
|
||||
;format = <label>
|
||||
;label = CPU %percentage%%
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/iscripts/cpu_info.sh
|
||||
interval = 0.5
|
||||
|
||||
[module/checkupdate]
|
||||
type = custom/script
|
||||
interval = 1800
|
||||
exec = ~/.config/polybar/iscripts/checkUpdates.sh
|
||||
format-foreground = #CADD8A
|
||||
|
||||
[module/imeminfo]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/iscripts/mem_info.sh
|
||||
format-foreground = #CADD8A
|
||||
|
||||
[module/meminfo]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/mem_info.sh
|
||||
|
@ -230,6 +266,18 @@ type = custom/script
|
|||
exec = ~/.config/polybar/scripts/disk_info.sh
|
||||
format-foreground = #C14F3F
|
||||
|
||||
[module/currentdate]
|
||||
type = custom/script
|
||||
interval = 10
|
||||
exec = ~/.config/polybar/iscripts/current_date.sh
|
||||
format-foreground = #C14F3F
|
||||
|
||||
[module/getvolume]
|
||||
type = custom/script
|
||||
interval = 2
|
||||
exec = ~/.config/polybar/iscripts/get_volume.sh
|
||||
format-foreground = #DDAA33
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
;format = <label-state> <label-mode>
|
||||
|
@ -238,34 +286,34 @@ type = internal/i3
|
|||
strip-wsnumbers = true
|
||||
|
||||
; Only show workspaces on the same output as the bar
|
||||
pin-workspaces = true
|
||||
pin-workspaces = true
|
||||
|
||||
label-mode-padding = ${glob.padding}
|
||||
label-mode-foreground = #664477
|
||||
label-mode-background = ${glob.primary}
|
||||
|
||||
; focused = Active workspace on focused monitor
|
||||
label-focused = %name%
|
||||
label-focused = " %name% "
|
||||
label-focused-foreground = ${colors.foreground}
|
||||
;label-focused-background = ${colors.background}
|
||||
label-focused-background = #42516d
|
||||
label-focused-underline = #dbdbdb
|
||||
label-focused-padding = 1
|
||||
label-focused-padding = 0
|
||||
|
||||
; unfocused = Inactive workspace on any monitor
|
||||
;label-unfocused = %name%
|
||||
label-unfocused-padding = 1
|
||||
label-unfocused = " %name% "
|
||||
label-unfocused-padding = 0
|
||||
|
||||
; visible = Active workspace on unfocused monitor
|
||||
label-visible = %name%
|
||||
label-visible = " %name% "
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
label-visible-underline = ${self.label-focused-underline}
|
||||
label-visible-padding = 1
|
||||
label-visible-padding = 0
|
||||
|
||||
; urgent = Workspace with urgency hint set
|
||||
label-urgent = %name%
|
||||
label-urgent = " %name% "
|
||||
label-urgent-foreground = ${glob.red}
|
||||
label-urgent-padding = 1
|
||||
label-urgent-padding = 0
|
||||
|
||||
; Separator in between workspaces
|
||||
; label-separator = |
|
||||
|
|
|
@ -133,7 +133,7 @@ module-margin-left = 1
|
|||
module-margin-right = 0
|
||||
|
||||
;https://github.com/jaagr/polybar/wiki/Fonts
|
||||
font-0 = "Noto Sans:size=10;0"
|
||||
font-0 = "UbuntuMono Nerd Font:size=11;0"
|
||||
font-1 = "FontAwesome:size=10;0"
|
||||
font-2 = "Noto Sans:size=10;0"
|
||||
font-3 = "Noto Sans Mono:size=10;0"
|
||||
|
@ -142,7 +142,8 @@ font-3 = "Noto Sans Mono:size=10;0"
|
|||
modules-left = ewmh
|
||||
;modules-center = kernel
|
||||
;modules-right = pavolume memory2 cpu2 date
|
||||
modules-right = kernel cpu meminfo diskinfo pulseaudio date
|
||||
; modules-right = kernel cpu meminfo diskinfo pulseaudio date
|
||||
modules-right = checkupdate ikernelnum icpu imeminfo getvolume currentdate
|
||||
|
||||
;tray-detached = false
|
||||
;tray-offset-x = 0
|
||||
|
@ -178,27 +179,27 @@ enable-scroll = true
|
|||
reverse-scroll = true
|
||||
|
||||
#icon-5 = 6;
|
||||
format = <label-state>
|
||||
label-monitor = %name%
|
||||
;format = <label-state>
|
||||
;label-monitor = %name%
|
||||
|
||||
label-active = %name%
|
||||
label-active = " %name% "
|
||||
label-active-foreground = ${colors.foreground}
|
||||
;label-active-background = ${colors.background}
|
||||
label-active-background = #42516d
|
||||
label-active-underline= #dbdbdb
|
||||
label-active-padding = 1
|
||||
label-active-padding = 0
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied = " %name% "
|
||||
label-occupied-background = ${colors.background}
|
||||
label-occupied-padding = 1
|
||||
label-occupied-padding = 0
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent = " %name% "
|
||||
label-urgent-foreground = ${colors.foreground}
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-underline = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
label-urgent-padding = 0
|
||||
|
||||
label-empty = %name%
|
||||
label-empty = " %name% "
|
||||
label-empty-foreground = ${colors.foreground}
|
||||
label-empty-padding = 0
|
||||
format-foreground = ${colors.foreground}
|
||||
|
@ -216,6 +217,12 @@ type = custom/script
|
|||
exec = ~/.config/polybar/iscripts/kernel_version.sh
|
||||
interval = 10
|
||||
|
||||
[module/ikernelnum]
|
||||
format-foreground = #51A6E3
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/iscripts/kernel_version_num.sh
|
||||
interval = 10
|
||||
|
||||
[module/cpu]
|
||||
;type = internal/cpu
|
||||
format-foreground = #B63CEC
|
||||
|
@ -279,34 +286,34 @@ type = internal/i3
|
|||
strip-wsnumbers = true
|
||||
|
||||
; Only show workspaces on the same output as the bar
|
||||
pin-workspaces = true
|
||||
pin-workspaces = true
|
||||
|
||||
label-mode-padding = ${glob.padding}
|
||||
label-mode-foreground = #664477
|
||||
label-mode-background = ${glob.primary}
|
||||
|
||||
; focused = Active workspace on focused monitor
|
||||
label-focused = %name%
|
||||
label-focused = " %name% "
|
||||
label-focused-foreground = ${colors.foreground}
|
||||
;label-focused-background = ${colors.background}
|
||||
label-focused-background = #42516d
|
||||
label-focused-underline = #dbdbdb
|
||||
label-focused-padding = 1
|
||||
label-focused-padding = 0
|
||||
|
||||
; unfocused = Inactive workspace on any monitor
|
||||
;label-unfocused = %name%
|
||||
label-unfocused-padding = 0.5
|
||||
label-unfocused = " %name% "
|
||||
label-unfocused-padding = 0
|
||||
|
||||
; visible = Active workspace on unfocused monitor
|
||||
label-visible = %name%
|
||||
label-visible = " %name% "
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
label-visible-underline = ${self.label-focused-underline}
|
||||
label-visible-padding = 1
|
||||
label-visible-padding = 0
|
||||
|
||||
; urgent = Workspace with urgency hint set
|
||||
label-urgent = %name%
|
||||
label-urgent = " %name% "
|
||||
label-urgent-foreground = ${glob.red}
|
||||
label-urgent-padding = 1
|
||||
label-urgent-padding = 0
|
||||
|
||||
; Separator in between workspaces
|
||||
; label-separator = |
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
import psutil
|
||||
|
||||
from libqtile import widget
|
||||
from .theme import colors
|
||||
from libqtile.widget import base
|
||||
|
||||
# Get the icons at https://www.nerdfonts.com/cheat-sheet (you need a Nerd Font)
|
||||
|
||||
|
@ -64,9 +67,7 @@ primary_widgets = [
|
|||
*workspaces(),
|
||||
|
||||
separator(),
|
||||
|
||||
powerline('color5', 'dark'),
|
||||
|
||||
icon(bg="color5", text=' '), # Icon: nf-fa-download
|
||||
|
||||
widget.CheckUpdates(
|
||||
|
@ -81,13 +82,46 @@ primary_widgets = [
|
|||
execute='bash ~/.config/qtile/checkUpdates.sh',
|
||||
),
|
||||
|
||||
powerline('color3', 'color5'),
|
||||
powerline('color2', 'color5'),
|
||||
icon(bg="color2", text=' '), # Icon: nf-fae-chipnf-fae-chip
|
||||
|
||||
icon(bg="color3", text=' '), # Icon: nf-fa-feed
|
||||
widget.CPU(
|
||||
background=colors['color2'],
|
||||
foreground='222222',
|
||||
update_interval=1.5,
|
||||
format='{load_percent}% '
|
||||
),
|
||||
|
||||
widget.Net(**base(bg='color3'), interface='wlan0'),
|
||||
widget.ThermalSensor(
|
||||
background=colors['color2'],
|
||||
foreground='222222',
|
||||
update_interval=2.0,
|
||||
tag_sensor="Tctl",
|
||||
),
|
||||
|
||||
powerline('color2', 'color3'),
|
||||
powerline('color3', 'color2'),
|
||||
icon(bg="color3", text=' '), # Icon: nf-mdi-memory
|
||||
|
||||
widget.Memory(
|
||||
background=colors['color3'],
|
||||
foreground='222222',
|
||||
measure_mem='G',
|
||||
format='{MemUsed:.0f}{mm}/{MemTotal:.0f}{mm} ',
|
||||
update_interval=2.0,
|
||||
),
|
||||
|
||||
powerline('color5', 'color3'),
|
||||
icon(bg="color5", text=' '), # Icon: nf-fa-volume_up
|
||||
|
||||
widget.Volume(
|
||||
background=colors['color5'],
|
||||
foreground='222222',
|
||||
channel='Master',
|
||||
fmt='{}',
|
||||
update_interval=0.2,
|
||||
),
|
||||
|
||||
powerline('color2', 'color5'),
|
||||
|
||||
widget.CurrentLayoutIcon(**base(bg='color2'), scale=0.65),
|
||||
|
||||
|
|
|
@ -30,10 +30,10 @@ tile_gap = 8
|
|||
# disable_border = 1
|
||||
|
||||
# Bar Settings
|
||||
bar_action = ~/.config/spectrwm/baraction.sh
|
||||
bar_action_expand = 200
|
||||
bar_action = ~/.config/polybar/launch-spectrwm.sh
|
||||
bar_action_expand = 1
|
||||
bar_enabled = 1
|
||||
bar_border_width = 6
|
||||
bar_border_width = 5
|
||||
bar_border[1] = rgb:28/2a/36
|
||||
bar_border_unfocus[1] = rgb:28/2a/36
|
||||
bar_color[1] = rgb:28/2a/36, rgb:00/80/80
|
||||
|
@ -88,10 +88,10 @@ autorun = ws[1]:~/.config/spectrwm/startcompositor.sh
|
|||
autorun = ws[1]:~/.config/spectrwm/startscreensaver.sh
|
||||
|
||||
# Autostart script
|
||||
#autorun = ws[1]:~/.config/spectrwm/autostart.sh
|
||||
autorun = ws[1]:~/.config/spectrwm/autostart.sh
|
||||
|
||||
# Autostart tray on Workspace 7
|
||||
autorun = ws[7]:~/.config/spectrwm/showtray.sh
|
||||
#autorun = ws[7]:~/.config/spectrwm/showtray.sh
|
||||
|
||||
# Customize workspace layout at start
|
||||
# layout = ws[1]:4:0:0:0:vertical
|
||||
|
@ -324,7 +324,7 @@ bind[xfce4-screenshooter] = MOD+s
|
|||
program[nitrogen] = nitrogen
|
||||
bind[nitrogen] = MOD+z
|
||||
|
||||
program[showtray] = ~/.config/spectrwm/showtray.sh
|
||||
program[showtray] = ~/.config/polybar/launch-spectrwm.sh
|
||||
bind[showtray] = MOD+Shift+t
|
||||
|
||||
# QUIRKS
|
||||
|
|
|
@ -4,13 +4,9 @@ dotfiles - My tiling Qtile, spectrwm, i3 & sway configurations (for Arch/Devuan/
|
|||
### My configurations:
|
||||
|
||||
* [Qtile](README-qtile.md)
|
||||
* [Qtile (Widget)](README-qtile-widget.md)
|
||||
* [i3 + polybar](README-i3-polybar.md)
|
||||
* [i3 + i3status](README-i3.md)
|
||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||
* [sway](README-sway.md)
|
||||
* [spectrwm](README-spectrwm.md)
|
||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||
* [i3(README-i3.md)
|
||||
* [Sway](README-sway.md)
|
||||
* [Spectrwm](README-spectrwm.md)
|
||||
|
||||
### Install dependencies on Arch Linux:
|
||||
|
||||
|
|
|
@ -1,131 +0,0 @@
|
|||
dotfiles - My tiling i3 + i3blocks configuration (for Arch/Devuan/Debian)
|
||||
========================================================================
|
||||
|
||||
### My configurations:
|
||||
|
||||
* [Qtile](README-qtile.md)
|
||||
* [Qtile (Widget)](README-qtile-widget.md)
|
||||
* [i3 + polybar](README-i3-polybar.md)
|
||||
* [i3 + i3status](README-i3.md)
|
||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||
* [sway](README-sway.md)
|
||||
* [spectrwm](README-spectrwm.md)
|
||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||
|
||||
![i3-i3blocks](examples/i3wm.png)
|
||||
|
||||
### Installation:
|
||||
|
||||
* **`Install dependencies:`**
|
||||
|
||||
* Read [`How install dependencies on Arch and Devuan/Debian`](Dependencies.md)
|
||||
|
||||
* **`Install configuration (dotfiles):`**
|
||||
|
||||
* Clone repository and copy files to your home:
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/q3aql/dotfiles
|
||||
$ cd dotfiles
|
||||
$ chmod +x install-config.sh
|
||||
$ ./install-config.sh
|
||||
$ cp -rfv ~/.config/i3/config.i3blocks ~/.config/i3/config
|
||||
````
|
||||
|
||||
### Configuration:
|
||||
|
||||
* **`Network Manager (Connman or NetWorkManager):`**
|
||||
|
||||
* By default is enabled `NetWorkManager` as network manager:
|
||||
* If you prefer `Connman`, edit the file `~/.config/i3/config`:
|
||||
|
||||
```shell
|
||||
#exec --no-startup-id connman-gtk --tray &
|
||||
exec --no-startup-id nm-applet &
|
||||
````
|
||||
|
||||
* **`Monitor & resolution:`**
|
||||
|
||||
* The configuration load my monitor configuration:
|
||||
* Use the command `xrandr` for show your config & edit the file `~/.config/i3/startxrandr.sh`:
|
||||
|
||||
```shell
|
||||
sleep 2
|
||||
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
|
||||
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
||||
````
|
||||
|
||||
* **`Wallpaper:`**
|
||||
|
||||
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
|
||||
* Edit `~/.config/i3/config` for set your favorite wallpaper:
|
||||
|
||||
```shell
|
||||
exec --no-startup-id "sleep 3 && nitrogen --set-scaled ~/wallpapers/abstract.png"
|
||||
````
|
||||
|
||||
* **`Set Screensaver (Optional):`**
|
||||
|
||||
* The configuration file set `xautolock` with 20 minutes as screensaver:
|
||||
* You can change the program between `xautolock` and `xscreensaver` editing the file `~/.config/i3/startscreensaver.sh`:
|
||||
|
||||
```shell
|
||||
# Basic configuration variables
|
||||
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
|
||||
ScreensaverTime="20" # 20 minutes (only for xautolock)
|
||||
````
|
||||
|
||||
* **`Enable Gaps (Optional):`**
|
||||
|
||||
* My config work on vanilla i3wm and gaps are disabled.
|
||||
* You can enable it editing 2 lines on file `~/.config/i3/config` and pressing `Win+Shift+r`:
|
||||
|
||||
```shell
|
||||
#gaps inner 6
|
||||
#gaps outer 2
|
||||
````
|
||||
|
||||
* **`Battery Indicator:`**
|
||||
|
||||
* By default, the battery indicator is disabled on i3blocks top bar.
|
||||
* You can enable it editing the lines on `~/.config/i3blocks/config` file:
|
||||
|
||||
```shell
|
||||
#[BATTERY]
|
||||
#command=~/.config/i3blocks/battery/battery_info.sh
|
||||
#interval=3
|
||||
````
|
||||
|
||||
### Keys configuration:
|
||||
|
||||
My list of extra combinations:
|
||||
|
||||
- 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 + Shift + e = Logout
|
||||
- Super + Backspace = Open menu Logout/Lock/Reboot/Shutdown
|
||||
|
||||
### External links:
|
||||
|
||||
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
|
||||
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles/)
|
||||
* [TWB0109](https://github.com/TWB0109/PDots)
|
||||
* [i3-style](https://github.com/altdesktop/i3-style)
|
||||
* [addy-dclxvi](https://github.com/addy-dclxvi/i3-starterpack)
|
||||
* [i3-gaps](https://github.com/Airblader/i3)
|
22
README-i3.md
|
@ -1,18 +1,14 @@
|
|||
dotfiles - My tiling i3 + i3status configuration (for Arch/Devuan/Debian)
|
||||
=========================================================================
|
||||
dotfiles - My tiling i3 + polybar configuration (for Arch/Devuan/Debian)
|
||||
========================================================================
|
||||
|
||||
### My configurations:
|
||||
|
||||
* [Qtile](README-qtile.md)
|
||||
* [Qtile (Widget)](README-qtile-widget.md)
|
||||
* [i3 + polybar](README-i3-polybar.md)
|
||||
* [i3 + i3status](README-i3.md)
|
||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||
* [sway](README-sway.md)
|
||||
* [spectrwm](README-spectrwm.md)
|
||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||
* [i3(README-i3.md)
|
||||
* [Sway](README-sway.md)
|
||||
* [Spectrwm](README-spectrwm.md)
|
||||
|
||||
![i3-i3status](examples/i3wm-i3status.png)
|
||||
![i3](examples/i3.png)
|
||||
|
||||
### Installation:
|
||||
|
||||
|
@ -56,11 +52,11 @@ dotfiles - My tiling i3 + i3status configuration (for Arch/Devuan/Debian)
|
|||
|
||||
* **`Wallpaper:`**
|
||||
|
||||
* By default, the config load wallpaper on `~/wallpapers/dark-city.jpg`:
|
||||
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
|
||||
* Edit `~/.config/i3/config` for set your favorite wallpaper:
|
||||
|
||||
```shell
|
||||
exec --no-startup-id "sleep 3 && nitrogen --set-scaled ~/wallpapers/dark-city.jpg"
|
||||
exec --no-startup-id "sleep 3 && nitrogen --set-scaled ~/wallpapers/abstract.png"
|
||||
````
|
||||
|
||||
* **`Set Screensaver (Optional):`**
|
||||
|
@ -74,7 +70,7 @@ dotfiles - My tiling i3 + i3status configuration (for Arch/Devuan/Debian)
|
|||
ScreensaverTime="20" # 20 minutes (only for xautolock)
|
||||
````
|
||||
|
||||
* **`Enable Gaps (Optional):`**
|
||||
* **`Enable Gaps (Optional):`**
|
||||
|
||||
* My config work on vanilla i3wm and gaps are disabled.
|
||||
* You can enable it editing 2 lines on file `~/.config/i3/config` and pressing `Win+Shift+r`:
|
||||
|
|
|
@ -1,112 +0,0 @@
|
|||
dotfiles - My tiling Qtile (Widget Extra) configuration (for Arch/Devuan/Debian)
|
||||
================================================================================
|
||||
|
||||
### My configurations:
|
||||
|
||||
* [Qtile](README-qtile.md)
|
||||
* [Qtile (Widget)](README-qtile-widget.md)
|
||||
* [i3 + polybar](README-i3-polybar.md)
|
||||
* [i3 + i3status](README-i3.md)
|
||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||
* [sway](README-sway.md)
|
||||
* [spectrwm](README-spectrwm.md)
|
||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||
|
||||
![qtile-widget](examples/qtile-widget.png)
|
||||
|
||||
### Installation:
|
||||
|
||||
* **`Install dependencies:`**
|
||||
|
||||
* Read [`How install dependencies on Arch and Devuan/Debian`](Dependencies.md)
|
||||
|
||||
* **`Install configuration (dotfiles):`**
|
||||
|
||||
* Clone repository and copy files to your home:
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/q3aql/dotfiles
|
||||
$ cd dotfiles
|
||||
$ chmod +x install-config.sh
|
||||
$ ./install-config.sh
|
||||
$ sudo pip psutils
|
||||
$ cd ~/.config/qtile/settings
|
||||
$ cp -rfv widgets.py.advanced widgets.py
|
||||
````
|
||||
|
||||
### Configuration:
|
||||
|
||||
* **`Network Manager (Connman or NetWorkManager):`**
|
||||
|
||||
* By default is enabled `NetWorkManager` as network manager:
|
||||
* If you prefer `Connman`, edit the file `~/.config/qtile/autostart.sh`:
|
||||
|
||||
```shell
|
||||
#connman-gtk --tray &
|
||||
nm-applet
|
||||
````
|
||||
|
||||
* **`Monitor & resolution:`**
|
||||
|
||||
* The configuration load my monitor configuration:
|
||||
* Use the command `xrandr` for show your config & edit the file `~/.config/qtile/startxrandr.sh`:
|
||||
|
||||
```shell
|
||||
sleep 2
|
||||
xrandr --output DisplayPort-0 --mode 1920x1200 -r 59.95
|
||||
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
||||
````
|
||||
|
||||
* **`Wallpaper:`**
|
||||
|
||||
* By default, the config load wallpaper on `~/wallpapers/archlinux2.jpg`:
|
||||
* Edit `~/.config/qtile/autostart.sh` for set your favorite wallpaper:
|
||||
|
||||
```shell
|
||||
sleep 3 && nitrogen --head=0 --set-scaled ~/wallpapers/archlinux2.jpg
|
||||
nitrogen --head=1 --set-zoom-fill ~/wallpapers/archlinux2.jpg
|
||||
````
|
||||
|
||||
* **`Set Screensaver (Optional):`**
|
||||
|
||||
* The configuration file set `xautolock` with 20 minutes as screensaver:
|
||||
* You can change the program between `xautolock` and `xscreensaver` editing the file `~/.config/qtile/startscreensaver.sh`:
|
||||
|
||||
```shell
|
||||
# Basic configuration variables
|
||||
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
|
||||
ScreensaverTime="20" # 20 minutes (only for xautolock)
|
||||
````
|
||||
### Keys configuration:
|
||||
|
||||
My list of extra combinations:
|
||||
|
||||
- Super + Tab = Next Layout
|
||||
- Super + Shift + Tab = Previous Layout
|
||||
- Super + Shift + f = Floating Window
|
||||
- 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 + s = Open Screenshooter
|
||||
- Volume-Up = Volume +5
|
||||
- Volume-Down = Volume -5
|
||||
- VolumeMute = Mute Volume
|
||||
- Super + Shift + q = Shutdown
|
||||
|
||||
### External links:
|
||||
|
||||
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
|
||||
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles/)
|
||||
* [TWB0109](https://github.com/TWB0109/PDots)
|
||||
* [i3-style](https://github.com/altdesktop/i3-style)
|
||||
* [addy-dclxvi](https://github.com/addy-dclxvi/i3-starterpack)
|
||||
* [i3-gaps](https://github.com/Airblader/i3)
|
|
@ -1,16 +1,12 @@
|
|||
dotfiles - My tiling Qtile configuration (for Arch/Devuan/Debian)
|
||||
=================================================================
|
||||
dotfiles - My tiling Qtile (Widget Extra) configuration (for Arch/Devuan/Debian)
|
||||
================================================================================
|
||||
|
||||
### My configurations:
|
||||
|
||||
* [Qtile](README-qtile.md)
|
||||
* [Qtile (Widget)](README-qtile-widget.md)
|
||||
* [i3 + polybar](README-i3-polybar.md)
|
||||
* [i3 + i3status](README-i3.md)
|
||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||
* [sway](README-sway.md)
|
||||
* [spectrwm](README-spectrwm.md)
|
||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||
* [i3(README-i3.md)
|
||||
* [Sway](README-sway.md)
|
||||
* [Spectrwm](README-spectrwm.md)
|
||||
|
||||
![qtile](examples/qtile.png)
|
||||
|
||||
|
@ -29,6 +25,7 @@ dotfiles - My tiling Qtile configuration (for Arch/Devuan/Debian)
|
|||
$ cd dotfiles
|
||||
$ chmod +x install-config.sh
|
||||
$ ./install-config.sh
|
||||
$ sudo pip psutils
|
||||
````
|
||||
|
||||
### Configuration:
|
||||
|
@ -43,15 +40,6 @@ dotfiles - My tiling Qtile configuration (for Arch/Devuan/Debian)
|
|||
nm-applet
|
||||
````
|
||||
|
||||
* **`Widget Network (Optional):`**
|
||||
|
||||
* To display the connection information in the top bar you need to edit a file.
|
||||
* Modify the following line with the interface of your computer (Use command `ifconfig` or `ip a`) in the file `~/.config/qtile/settings/widget.py`:
|
||||
|
||||
```shell
|
||||
widget.Net(**base(bg='color3'), interface='wlan0'),
|
||||
````
|
||||
|
||||
* **`Monitor & resolution:`**
|
||||
|
||||
* The configuration load my monitor configuration:
|
||||
|
|
|
@ -1,132 +0,0 @@
|
|||
dotfiles - My tiling spectrwm + polybar configuration (for Arch/Devuan/Debian)
|
||||
==============================================================================
|
||||
|
||||
### My configurations:
|
||||
|
||||
* [Qtile](README-qtile.md)
|
||||
* [Qtile (Widget)](README-qtile-widget.md)
|
||||
* [i3 + polybar](README-i3-polybar.md)
|
||||
* [i3 + i3status](README-i3.md)
|
||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||
* [sway](README-sway.md)
|
||||
* [spectrwm](README-spectrwm.md)
|
||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||
|
||||
![spectrwm-polybar](examples/spectrwm-polybar.png)
|
||||
|
||||
### Installation:
|
||||
|
||||
* **`Install dependencies:`**
|
||||
|
||||
* Read [`How install dependencies on Arch and Devuan/Debian`](Dependencies.md)
|
||||
|
||||
* **`Install configuration (dotfiles):`**
|
||||
|
||||
* Clone repository and copy files to your home:
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/q3aql/dotfiles
|
||||
$ cd dotfiles
|
||||
$ chmod +x install-config.sh
|
||||
$ ./install-config.sh
|
||||
$ cp -rfv ~/.config/spectrwm/spectrwm-polybar.conf ~/.config/spectrwm/spectrwm.conf
|
||||
````
|
||||
|
||||
### Configuration:
|
||||
|
||||
* **`Network Manager (Connman or NetWorkManager):`**
|
||||
|
||||
* By default is enabled `NetWorkManager` as network manager:
|
||||
* If you prefer `Connman`, edit the file `~/.config/spectrwm/spectrwm.conf` and `autostart.sh`:
|
||||
|
||||
```shell
|
||||
# Choose between NetworkManager or Connman
|
||||
program[connection] = nm-connection-editor
|
||||
#program[connection] = connman-gtk --no-icon
|
||||
bind[connection] = MOD+c
|
||||
````
|
||||
|
||||
```shell
|
||||
# Network Tray (Use Win + Shift + t to show it)
|
||||
nm-applet &
|
||||
#connman-gtk --tray &
|
||||
````
|
||||
|
||||
* **`Monitor & resolution:`**
|
||||
|
||||
* The configuration load my monitor configuration:
|
||||
* Use the command `xrandr` for show your config & edit the file `~/.config/spectrwm/startxrandr.sh`:
|
||||
|
||||
```shell
|
||||
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
|
||||
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
||||
````
|
||||
|
||||
* **`Wallpaper:`**
|
||||
|
||||
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
|
||||
* Edit `~/.config/spectrwm/startwallpaper.sh` for set your favorite wallpaper:
|
||||
|
||||
```shell
|
||||
sleep 3
|
||||
nitrogen --set-scaled ~/wallpapers/abstract.png
|
||||
````
|
||||
|
||||
* **`Set Screensaver (Optional):`**
|
||||
|
||||
* The configuration file set `xautolock` with 20 minutes as screensaver:
|
||||
* You can change the program between `xautolock` and `xscreensaver` editing the file `~/.config/spectrwm/startscreensaver.sh`:
|
||||
|
||||
```shell
|
||||
# Basic configuration variables
|
||||
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
|
||||
ScreensaverTime="20" # 20 minutes (only for xautolock)
|
||||
````
|
||||
|
||||
* **`Compositor (Compton or Picom):`**
|
||||
|
||||
* By default, the config load `Picom` compositor.
|
||||
* You can change it editing the lines on `~/.config/spectrwm/startcompositor.sh` file:
|
||||
|
||||
```shell
|
||||
# Load compton or picom (Compositor)
|
||||
sleep 15
|
||||
#compton &
|
||||
picom &
|
||||
````
|
||||
|
||||
### Keys configuration:
|
||||
|
||||
My list of extra combinations:
|
||||
|
||||
- Super + d = Open Rofi Theme selector
|
||||
- Super + x = Close Window
|
||||
- Super + w = Minimize Window
|
||||
- Super + Shift + w = Maximize/Search Window
|
||||
- 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
|
||||
- BrightnessUp = Brightness +10
|
||||
- BrightnessDown = Brightness -10
|
||||
|
||||
### External links:
|
||||
|
||||
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
|
||||
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles/)
|
||||
* [TWB0109](https://github.com/TWB0109/PDots)
|
||||
* [i3-style](https://github.com/altdesktop/i3-style)
|
||||
* [addy-dclxvi](https://github.com/addy-dclxvi/i3-starterpack)
|
||||
* [i3-gaps](https://github.com/Airblader/i3)
|
|
@ -1,16 +1,12 @@
|
|||
dotfiles - My tiling spectrwm configuration (for Arch/Devuan/Debian)
|
||||
====================================================================
|
||||
dotfiles - My tiling spectrwm + polybar configuration (for Arch/Devuan/Debian)
|
||||
==============================================================================
|
||||
|
||||
### My configurations:
|
||||
|
||||
* [Qtile](README-qtile.md)
|
||||
* [Qtile (Widget)](README-qtile-widget.md)
|
||||
* [i3 + polybar](README-i3-polybar.md)
|
||||
* [i3 + i3status](README-i3.md)
|
||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||
* [sway](README-sway.md)
|
||||
* [spectrwm](README-spectrwm.md)
|
||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||
* [i3(README-i3.md)
|
||||
* [Sway](README-sway.md)
|
||||
* [Spectrwm](README-spectrwm.md)
|
||||
|
||||
![spectrwm](examples/spectrwm.png)
|
||||
|
||||
|
@ -102,7 +98,6 @@ My list of extra combinations:
|
|||
- Super + x = Close Window
|
||||
- Super + w = Minimize Window
|
||||
- Super + Shift + w = Maximize/Search Window
|
||||
- Super + Shift + t = Show/Hide Tray (Run by default on Workspace 7)
|
||||
- Super + c = Open network configuration
|
||||
- Super + v = Open volume configuration (Pavucontrol)
|
||||
- Super + Return = Open terminal (Alacritty)
|
||||
|
|
|
@ -4,13 +4,9 @@ dotfiles - My tiling sway configuration (for Arch/Devuan/Debian)
|
|||
### My configurations:
|
||||
|
||||
* [Qtile](README-qtile.md)
|
||||
* [Qtile (Widget)](README-qtile-widget.md)
|
||||
* [i3 + polybar](README-i3-polybar.md)
|
||||
* [i3 + i3status](README-i3.md)
|
||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||
* [sway](README-sway.md)
|
||||
* [spectrwm](README-spectrwm.md)
|
||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||
* [i3(README-i3.md)
|
||||
* [Sway](README-sway.md)
|
||||
* [Spectrwm](README-spectrwm.md)
|
||||
|
||||
![sway](examples/sway.png)
|
||||
|
||||
|
|
Before Width: | Height: | Size: 403 KiB After Width: | Height: | Size: 403 KiB |
Before Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 412 KiB |
Before Width: | Height: | Size: 394 KiB |
Before Width: | Height: | Size: 394 KiB After Width: | Height: | Size: 394 KiB |
Before Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.9 MiB |