Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway

This commit is contained in:
Damien Broqua 2021-10-09 16:46:19 +02:00
commit 142a099599
3 changed files with 21 additions and 35 deletions

View file

@ -124,6 +124,7 @@ exec $term
exec firefox
exec spotify
exec signal-desktop --use-tray-icon
exec teams
exec mpd
@ -134,6 +135,7 @@ for_window [app_id=".*"] border pixel 4
# Auto move on Workspace
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="Spotify"] move container to workspace $wksp4

View file

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

View file

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