Compare commits
3 commits
0bfa56d53e
...
c7b9cb2086
Author | SHA1 | Date | |
---|---|---|---|
c7b9cb2086 | |||
bc2679aa51 | |||
226133c542 |
13 changed files with 7 additions and 256 deletions
|
@ -1,35 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
#CMUS notification
|
|
||||||
#
|
|
||||||
body=""
|
|
||||||
|
|
||||||
while [ "$#" -ge 2 ]
|
|
||||||
do
|
|
||||||
printf -v "$1" "%s" "$2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
||||||
filename=${file#*/}
|
|
||||||
image=${file%/*}/cover.jpg
|
|
||||||
[ -f "$image" ] && options="$options -i \"${image}\""
|
|
||||||
|
|
||||||
title=${title:-$filename}
|
|
||||||
|
|
||||||
if [ -n "$artist" ]
|
|
||||||
then
|
|
||||||
body="$body <i>$artist</i>\n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$album" ]
|
|
||||||
then
|
|
||||||
body="$body $album"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$date" ]
|
|
||||||
then
|
|
||||||
body="$body ${date%%-*}"
|
|
||||||
fi
|
|
||||||
body=${body:-'no informations'}
|
|
||||||
notify-send --app-name=cmus -i "$image" "$title" "$body"
|
|
|
@ -1,56 +0,0 @@
|
||||||
## Base16 Default Dark
|
|
||||||
|
|
||||||
# overall background and foreground color
|
|
||||||
set color_win_fg=7
|
|
||||||
set color_win_bg=0
|
|
||||||
|
|
||||||
# bottom status line
|
|
||||||
set color_statusline_fg=20
|
|
||||||
set color_statusline_bg=19
|
|
||||||
|
|
||||||
# bottom title line
|
|
||||||
set color_titleline_fg=7
|
|
||||||
set color_titleline_bg=18
|
|
||||||
|
|
||||||
# top title area
|
|
||||||
set color_win_title_fg=20
|
|
||||||
set color_win_title_bg=19
|
|
||||||
set color_win_title_attr=bold
|
|
||||||
|
|
||||||
# command-line colors
|
|
||||||
set color_cmdline_bg=default
|
|
||||||
set color_cmdline_fg=default
|
|
||||||
set color_error=1
|
|
||||||
set color_info=6
|
|
||||||
|
|
||||||
# separator of windows
|
|
||||||
# should be black
|
|
||||||
set color_separator=16
|
|
||||||
|
|
||||||
# unselected currently playing track's text
|
|
||||||
set color_win_cur=13
|
|
||||||
|
|
||||||
# active selection for currently playing track
|
|
||||||
set color_win_cur_sel_bg=20
|
|
||||||
set color_win_cur_sel_fg=0
|
|
||||||
set color_win_cur_sel_attr=none
|
|
||||||
|
|
||||||
# inactive selection for currently playing track
|
|
||||||
set color_win_inactive_cur_sel_bg=8
|
|
||||||
set color_win_inactive_cur_sel_fg=21
|
|
||||||
|
|
||||||
# active selection
|
|
||||||
set color_win_sel_bg=6
|
|
||||||
set color_win_sel_fg=0
|
|
||||||
set color_win_sel_attr=none
|
|
||||||
|
|
||||||
# inactive selection
|
|
||||||
set color_win_inactive_sel_bg=19
|
|
||||||
set color_win_inactive_sel_fg=20
|
|
||||||
|
|
||||||
# directory listing color
|
|
||||||
set color_win_dir=default
|
|
||||||
|
|
||||||
set status_display_program=~/.config/cmus/notify.sh
|
|
||||||
|
|
||||||
add -l ~/medias/music
|
|
|
@ -45,9 +45,15 @@ mako_rules:
|
||||||
- field: app-name
|
- field: app-name
|
||||||
value: cmus
|
value: cmus
|
||||||
options:
|
options:
|
||||||
border-color: '#00000000'
|
|
||||||
default-timeout: 10000
|
default-timeout: 10000
|
||||||
padding: 7
|
padding: 7
|
||||||
|
format: '%b'
|
||||||
|
- criterias:
|
||||||
|
- field: app-name
|
||||||
|
value: cmus
|
||||||
|
- field: grouped
|
||||||
|
options:
|
||||||
|
format: '%b'
|
||||||
|
|
||||||
mako_keybindings:
|
mako_keybindings:
|
||||||
- mode: 'normal'
|
- mode: 'normal'
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
local_sway_inputs:
|
|
||||||
- name: '65261:8800:KBDFans_DZ60'
|
|
||||||
options:
|
|
||||||
- option: 'xkb_layout'
|
|
||||||
value: 'us'
|
|
||||||
- option: 'xkb_variant'
|
|
||||||
value: 'altgr-intl'
|
|
|
@ -1,10 +0,0 @@
|
||||||
---
|
|
||||||
local_kanshi_profiles:
|
|
||||||
- profile: 'alienor'
|
|
||||||
screens:
|
|
||||||
- id: 'eDP-1'
|
|
||||||
status: 'disable'
|
|
||||||
- id: 'iiyama_24_g'
|
|
||||||
position: '0,0'
|
|
||||||
- id: 'iiyama_24_d'
|
|
||||||
position: '1920,0'
|
|
|
@ -1,10 +0,0 @@
|
||||||
---
|
|
||||||
local_sway_outputs:
|
|
||||||
- id: 'eDP-1'
|
|
||||||
name: 'eDP-1'
|
|
||||||
- id: 'iiyama_24_g'
|
|
||||||
name: 'Iiyama North America PL2480H 11183M2807013'
|
|
||||||
status: absent
|
|
||||||
- id: 'iiyama_24_d'
|
|
||||||
name: 'Iiyama North America PL2480H 11183M2807016'
|
|
||||||
status: absent
|
|
|
@ -1,16 +0,0 @@
|
||||||
---
|
|
||||||
local_sway_inputs:
|
|
||||||
- name: '1:1:AT_Translated_Set_2_keyboard'
|
|
||||||
options:
|
|
||||||
- option: 'xkb_layout'
|
|
||||||
value: 'us'
|
|
||||||
- option: 'xkb_variant'
|
|
||||||
value: 'altgr-intl'
|
|
||||||
- name: '2:7:SynPS/2_Synaptics_TouchPad'
|
|
||||||
options:
|
|
||||||
- option: 'tap'
|
|
||||||
value: 'enabled'
|
|
||||||
- option: 'dwt'
|
|
||||||
value: 'enabled'
|
|
||||||
- option: 'pointer_accel'
|
|
||||||
value: 0.3
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
local_sway_outputs:
|
|
||||||
- id: 'eDP-1'
|
|
||||||
name: 'eDP-1'
|
|
|
@ -1,2 +0,0 @@
|
||||||
---
|
|
||||||
swaylock_image: ~/medias/images/wallpapers/lucy.jpg
|
|
|
@ -1,22 +0,0 @@
|
||||||
---
|
|
||||||
local_sway_inputs:
|
|
||||||
- name: '1:1:AT_Translated_Set_2_keyboard'
|
|
||||||
options:
|
|
||||||
- option: 'xkb_layout'
|
|
||||||
value: 'gpdwinmax'
|
|
||||||
- name: '2362:597:HTIX5288:00_093A:0255_Touchpad'
|
|
||||||
options:
|
|
||||||
- option: 'tap'
|
|
||||||
value: 'enabled'
|
|
||||||
- option: 'pointer_accel'
|
|
||||||
value: 0.3
|
|
||||||
- name: '1046:928:Goodix_Capacitive_TouchScreen'
|
|
||||||
options:
|
|
||||||
- option: 'map_to_output'
|
|
||||||
value: 'eDP-1'
|
|
||||||
|
|
||||||
local_sway_outputs:
|
|
||||||
- id: 'eDP-1'
|
|
||||||
name: 'eDP-1'
|
|
||||||
options:
|
|
||||||
transform: 90
|
|
|
@ -1,9 +0,0 @@
|
||||||
---
|
|
||||||
kanshi_profiles:
|
|
||||||
- profile: 'home'
|
|
||||||
screens:
|
|
||||||
- id: 'iiyama_27_4k_h'
|
|
||||||
position: '0,0'
|
|
||||||
- id: 'iiyama_27_4k_v'
|
|
||||||
position: '1920,0'
|
|
||||||
transform: 270
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
local_sway_outputs:
|
|
||||||
- id: 'bg'
|
|
||||||
name: '*'
|
|
||||||
options:
|
|
||||||
bg: '~/medias/images/wallpapers/desktop.jpg center #000000'
|
|
|
@ -1,77 +0,0 @@
|
||||||
---
|
|
||||||
waybar_options:
|
|
||||||
layer: "top"
|
|
||||||
spacing: 6
|
|
||||||
disable-toolptips: true
|
|
||||||
modules-left:
|
|
||||||
- sway/workspaces
|
|
||||||
- sway/mode
|
|
||||||
modules-center: []
|
|
||||||
modules-right:
|
|
||||||
- network
|
|
||||||
- custom/sep
|
|
||||||
# - temperature
|
|
||||||
- memory
|
|
||||||
- cpu
|
|
||||||
- custom/sep
|
|
||||||
- pulseaudio
|
|
||||||
- custom/sep
|
|
||||||
- clock
|
|
||||||
- custom/sep
|
|
||||||
- tray
|
|
||||||
sway/mode:
|
|
||||||
format: '<span style="italic">{}</span>'
|
|
||||||
custom/sep:
|
|
||||||
format: "|"
|
|
||||||
tooltip: false
|
|
||||||
sway/workspace:
|
|
||||||
disable-scroll: true
|
|
||||||
idle_inhibitor:
|
|
||||||
format: "{icon}"
|
|
||||||
format-icons:
|
|
||||||
activated:
|
|
||||||
deactivated:
|
|
||||||
clock:
|
|
||||||
tooltip: false
|
|
||||||
timezone: "Europe/Paris"
|
|
||||||
format-alt: "{:%Y-%m-%d}"
|
|
||||||
temperature:
|
|
||||||
thermal-zone: "{{ cpu_thermal_zone | default(6) }}"
|
|
||||||
critical-threshold: 80
|
|
||||||
format: "{temperatureC}°C "
|
|
||||||
cpu:
|
|
||||||
format: "{usage}% {icon}"
|
|
||||||
tooltip: false
|
|
||||||
states:
|
|
||||||
warning: 70
|
|
||||||
critical: 90
|
|
||||||
format-icons:
|
|
||||||
-
|
|
||||||
network:
|
|
||||||
tooltip: false
|
|
||||||
format-wifi: "{essid} ({signalStrength}%) "
|
|
||||||
format-ethernet: "{ifname}: {ipaddr}/{cidr} "
|
|
||||||
format-linked: "{ifname} (No IP) "
|
|
||||||
format-disconnected: "Disconnected ⚠ "
|
|
||||||
format-alt: "{ifname}: {ipaddr}/{cidr}"
|
|
||||||
pulseaudio:
|
|
||||||
tooltip: false
|
|
||||||
format: "{format_source} {volume}% {icon} "
|
|
||||||
format-bluetooth: "{volume}% {icon}"
|
|
||||||
format-muted: "{format_source} "
|
|
||||||
format-source: "{volume}% "
|
|
||||||
format-source-muted: " "
|
|
||||||
format-icons:
|
|
||||||
headphones:
|
|
||||||
handsfree:
|
|
||||||
headset:
|
|
||||||
phone:
|
|
||||||
portable:
|
|
||||||
car:
|
|
||||||
default:
|
|
||||||
memory:
|
|
||||||
interval: 30
|
|
||||||
states:
|
|
||||||
warning: 70
|
|
||||||
critical: 90
|
|
||||||
format: "{used:0.1f}G/{total:0.1f}G "
|
|
Loading…
Add table
Add a link
Reference in a new issue