I3 to Sway #1

Merged
dbroqua merged 112 commits from gentoo-sway into master 2021-10-21 21:40:49 +02:00
3 changed files with 21 additions and 35 deletions
Showing only changes of commit 142a099599 - Show all commits

View file

@ -124,6 +124,7 @@ exec $term
exec firefox exec firefox
exec spotify exec spotify
exec signal-desktop --use-tray-icon exec signal-desktop --use-tray-icon
exec teams
exec mpd exec mpd
@ -134,6 +135,7 @@ for_window [app_id=".*"] border pixel 4
# Auto move on Workspace # Auto move on Workspace
for_window [class="Signal"] move container to workspace $wksp3 for_window [class="Signal"] move container to workspace $wksp3
for_window [class="Teams"] move container to workspace $wksp3
for_window [class="Slack"] move container to workspace $wksp3 for_window [class="Slack"] move container to workspace $wksp3
for_window [class="Spotify"] move container to workspace $wksp4 for_window [class="Spotify"] move container to workspace $wksp4

View file

@ -20,9 +20,6 @@
"temperature#2", "temperature#2",
"temperature#3", "temperature#3",
"pulseaudio", "pulseaudio",
// "custom/multimedia_previous",
// "custom/multimedia_current",
// "custom/multimedia_next",
"mpd", "mpd",
"clock", "clock",
"tray" "tray"
@ -107,7 +104,6 @@
}, },
"mpd": { "mpd": {
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {title} ", "format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {title} ",
// "format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
"format-disconnected": "Disconnected ", "format-disconnected": "Disconnected ",
"format-stopped": "{randomIcon}{repeatIcon}{singleIcon} Stopped ", "format-stopped": "{randomIcon}{repeatIcon}{singleIcon} Stopped ",
"interval": 10, "interval": 10,
@ -146,26 +142,24 @@
"modules-left": [ "modules-left": [
"sway/workspaces", "sway/workspaces",
"sway/mode", "sway/mode",
], ],
"modules-center": [ "modules-center": [
"clock"
], ],
"modules-right": [ "modules-right": [
"disk#1", "disk#1",
"disk#2", "disk#2",
"network#openvpn",
"network", "network",
"cpu", "cpu",
"memory", "memory",
"temperature#1", "temperature",
"temperature#3",
"battery", "battery",
"backlight", "backlight",
"pulseaudio", "pulseaudio",
// "custom/multimedia_previous", "mpd",
// "custom/multimedia_current", "clock",
// "custom/multimedia_next",
"tray" "tray"
], ],
"sway/workspaces": { "sway/workspaces": {
"all-outputs": true "all-outputs": true
}, },
@ -205,6 +199,13 @@
"max-length": 50, "max-length": 50,
"tooltip": false "tooltip": false
}, },
"network#openvpn": {
"interface": "tun0",
"format": "🔒",
"format-disconnected": "🔓", //An empty format will hide the module.
"max-length": 50,
"tooltip": false
},
"cpu": { "cpu": {
"format": " {load}%", "format": " {load}%",
"tooltip": false "tooltip": false
@ -213,20 +214,15 @@
"format": " {percentage}%", "format": " {percentage}%",
"tooltip": false "tooltip": false
}, },
"temperature#1": { "temperature": {
"thermal-zone": 1, "thermal-zone": 1,
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
"format": " {temperatureC}°C" "format": " {temperatureC}°C"
}, },
"temperature#3": {
"thermal-zone": 1,
"hwmon-path": "/sys/class/hwmon/hwmon7/temp1_input",
"format": "{temperatureC}°C"
},
"backlight": { "backlight": {
"device": "intel_backlight", "device": "intel_backlight",
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": ["", ""] "format-icons": ["", ""]
}, },
"pulseaudio": { "pulseaudio": {
"format": "♪ {volume}% {icon}", "format": "♪ {volume}% {icon}",
@ -245,19 +241,6 @@
"on-click": "pavucontrol", "on-click": "pavucontrol",
"tooltip": false "tooltip": false
}, },
"custom/multimedia_previous": {
"format": "",
"on-click": "~/bin/music.sh Previous"
},
"custom/multimedia_current": {
"interval": 10,
"exec": "~/bin/nowPlaying.sh",
"on-click": "~/bin/music.sh PlayPause"
},
"custom/multimedia_next": {
"format": "",
"on-click": "~/bin/music.sh Next"
},
"mpd": { "mpd": {
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ", "format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
"format-disconnected": "Disconnected ", "format-disconnected": "Disconnected ",

View file

@ -33,6 +33,7 @@ call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'yuezk/vim-js' Plug 'yuezk/vim-js'
Plug 'maxmellon/vim-jsx-pretty' Plug 'maxmellon/vim-jsx-pretty'
Plug 'briancollins/vim-jst'
Plug 'dpelle/vim-grammalecte' Plug 'dpelle/vim-grammalecte'
" Initialize plugin system " Initialize plugin system
call plug#end() call plug#end()