Compare commits
No commits in common. "c7b9cb2086ef76ec16a3a78a7ca93a79f866e745" and "0bfa56d53e2c138a8651fa9dbecff4f84c2db5d6" have entirely different histories.
c7b9cb2086
...
0bfa56d53e
13 changed files with 256 additions and 7 deletions
35
files/config/cmus/notify.sh
Executable file
35
files/config/cmus/notify.sh
Executable file
|
@ -0,0 +1,35 @@
|
||||||
|
#!/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"
|
56
files/config/cmus/rc
Normal file
56
files/config/cmus/rc
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
## 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,15 +45,9 @@ 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'
|
||||||
|
|
8
vars/ALCS-LT-YB/inputs.yml
Normal file
8
vars/ALCS-LT-YB/inputs.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
local_sway_inputs:
|
||||||
|
- name: '65261:8800:KBDFans_DZ60'
|
||||||
|
options:
|
||||||
|
- option: 'xkb_layout'
|
||||||
|
value: 'us'
|
||||||
|
- option: 'xkb_variant'
|
||||||
|
value: 'altgr-intl'
|
10
vars/ALCS-LT-YB/kanshi.yml
Normal file
10
vars/ALCS-LT-YB/kanshi.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
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'
|
10
vars/ALCS-LT-YB/outputs.yml
Normal file
10
vars/ALCS-LT-YB/outputs.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
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
|
16
vars/lucy/input.yml
Normal file
16
vars/lucy/input.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
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
|
4
vars/lucy/outputs.yml
Normal file
4
vars/lucy/outputs.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
local_sway_outputs:
|
||||||
|
- id: 'eDP-1'
|
||||||
|
name: 'eDP-1'
|
2
vars/lucy/swaylock.yml
Normal file
2
vars/lucy/swaylock.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
swaylock_image: ~/medias/images/wallpapers/lucy.jpg
|
22
vars/morty/morty.yml
Normal file
22
vars/morty/morty.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
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
|
9
vars/mrmeeseeks/kanshi.yml
Normal file
9
vars/mrmeeseeks/kanshi.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
kanshi_profiles:
|
||||||
|
- profile: 'home'
|
||||||
|
screens:
|
||||||
|
- id: 'iiyama_27_4k_h'
|
||||||
|
position: '0,0'
|
||||||
|
- id: 'iiyama_27_4k_v'
|
||||||
|
position: '1920,0'
|
||||||
|
transform: 270
|
6
vars/mrmeeseeks/sway.yml
Normal file
6
vars/mrmeeseeks/sway.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
local_sway_outputs:
|
||||||
|
- id: 'bg'
|
||||||
|
name: '*'
|
||||||
|
options:
|
||||||
|
bg: '~/medias/images/wallpapers/desktop.jpg center #000000'
|
77
vars/mrmeeseeks/waybar.yml
Normal file
77
vars/mrmeeseeks/waybar.yml
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
---
|
||||||
|
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