From 39597b0936d1a259e52ca65cc59115e147bab17c Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Tue, 19 Sep 2023 12:27:49 +0200 Subject: [PATCH] Clean unused files for Sway --- .bin/docker-restart-all-containers | 29 -- .bin/docker-upgrade-all-containers | 44 --- .config/autorandr/home+xppen/config | 43 --- .config/autorandr/home+xppen/setup | 3 - .config/autorandr/home/config | 36 --- .config/autorandr/home/setup | 2 - .config/autorandr/home1/config | 36 --- .config/autorandr/home1/setup | 2 - .config/autorandr/home2+xppen/config | 43 --- .config/autorandr/home2+xppen/setup | 3 - .config/autorandr/home2/config | 36 --- .config/autorandr/home2/setup | 2 - .config/autorandr/mobile/config | 24 -- .config/autorandr/mobile/setup | 1 - .config/autorandr/postswitch | 114 -------- .config/autorandr/work/config | 30 -- .config/autorandr/work/setup | 3 - .config/autorandr/work2/config | 30 -- .config/autorandr/work2/setup | 3 - .config/i3/config | 238 ---------------- .config/polybar/config | 407 --------------------------- .config/polybar/launch.sh | 19 -- .config/rofi/config.rasi | 141 ---------- .config/rofi/cyberpunk-neon.rasi | 111 -------- 24 files changed, 1400 deletions(-) delete mode 100755 .bin/docker-restart-all-containers delete mode 100755 .bin/docker-upgrade-all-containers delete mode 100644 .config/autorandr/home+xppen/config delete mode 100644 .config/autorandr/home+xppen/setup delete mode 100644 .config/autorandr/home/config delete mode 100644 .config/autorandr/home/setup delete mode 100644 .config/autorandr/home1/config delete mode 100644 .config/autorandr/home1/setup delete mode 100644 .config/autorandr/home2+xppen/config delete mode 100644 .config/autorandr/home2+xppen/setup delete mode 100644 .config/autorandr/home2/config delete mode 100644 .config/autorandr/home2/setup delete mode 100644 .config/autorandr/mobile/config delete mode 100644 .config/autorandr/mobile/setup delete mode 100755 .config/autorandr/postswitch delete mode 100644 .config/autorandr/work/config delete mode 100644 .config/autorandr/work/setup delete mode 100644 .config/autorandr/work2/config delete mode 100644 .config/autorandr/work2/setup delete mode 100644 .config/i3/config delete mode 100644 .config/polybar/config delete mode 100644 .config/polybar/launch.sh delete mode 100644 .config/rofi/config.rasi delete mode 100644 .config/rofi/cyberpunk-neon.rasi diff --git a/.bin/docker-restart-all-containers b/.bin/docker-restart-all-containers deleted file mode 100755 index d4dbeae..0000000 --- a/.bin/docker-restart-all-containers +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bash - - -readonly = DOCKER_FOLDER="/srv/" - -function ok() -{ - echo -e "\e[32mdone\e[0m" -} - -function failed() -{ - echo -e "\e[31mfailed\e[0m" -} - -function main() { - - container_list=$(find "${DOCKER_FOLDER}" -mindepth 1 -maxdepth 1 -type d ! -iname "archives" ! -iname "images" ! -iname "lost+found") - - for container_path in ${container_list}; do - cd "${container_path}" - docker compose down \ - && docker compose stop \ - && docker compose up -d - cd - &>/dev/null - done -} - -main diff --git a/.bin/docker-upgrade-all-containers b/.bin/docker-upgrade-all-containers deleted file mode 100755 index 2631047..0000000 --- a/.bin/docker-upgrade-all-containers +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env bash - -## Mise à jour des container docker - -readonly DOCKER_FOLDER="/srv/" - -function ok() -{ - echo -e "\e[32mdone\e[0m" -} - -function failed() -{ - echo -e "\e[31mfailed\e[0m" -} - -function main() { - local container_list=$(find "${DOCKER_FOLDER}" -mindepth 1 -maxdepth 1 -type d ! -iname "archives" ! -iname "images" ! -iname "lost+found") - local container_updated=() - - for container_path in ${container_list}; do - cd "${container_path}" - if [ -f docker-compose.yml ]; then - printf "Updating ${container_path} : \n" \ - && docker compose pull \ - && docker compose build --pull \ - && container_updated+=(${container_path}) \ - && ok \ - || failed - fi - cd - &>/dev/null - done - - for container_path in ${container_updated[*]}; do - cd "${container_path}" - docker compose down \ - && docker compose stop \ - && docker compose up -d - cd - &>/dev/null - done - -} - -main diff --git a/.config/autorandr/home+xppen/config b/.config/autorandr/home+xppen/config deleted file mode 100644 index b940a93..0000000 --- a/.config/autorandr/home+xppen/config +++ /dev/null @@ -1,43 +0,0 @@ -output DP1 -off -output DP2 -off -output DP2-2 -off -output HDMI1 -off -output HDMI2 -off -output HDMI3 -off -output VIRTUAL1 -off -output eDP1 -crtc 0 -mode 1920x1080 -pos 0x0 -primary -rate 60.00 -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -x-prop-scaling_mode Full aspect -output DP2-1 -crtc 1 -mode 1920x1080 -pos 1920x0 -rate 60.00 -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-max_bpc 12 -x-prop-non_desktop 0 -output DP2-3 -crtc 2 -mode 1920x1080 -pos 0x1080 -rate 60.00 -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-max_bpc 12 -x-prop-non_desktop 0 diff --git a/.config/autorandr/home+xppen/setup b/.config/autorandr/home+xppen/setup deleted file mode 100644 index a143ba5..0000000 --- a/.config/autorandr/home+xppen/setup +++ /dev/null @@ -1,3 +0,0 @@ -DP2-1 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 -DP2-3 00ffffffffffff0054e41515170621201f1f0104a5221378221e55a059569f270d5054210800d1c0818095009500b30081c001010101023a801871382d40582c450059c21000001e000000ff0032303231303631370a20202020000000fc00434431363046480a2020202020000000fd00383d1e5311000a2020202020200150020310c043900204230907078301000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094 -eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/home/config b/.config/autorandr/home/config deleted file mode 100644 index b13816f..0000000 --- a/.config/autorandr/home/config +++ /dev/null @@ -1,36 +0,0 @@ -output DP1 -off -output DP2 -off -output DP2-2 -off -output DP2-3 -off -output HDMI1 -off -output HDMI2 -off -output HDMI3 -off -output VIRTUAL1 -off -output eDP1 -crtc 0 -mode 1920x1080 -pos 0x0 -primary -rate 60.00 -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -x-prop-scaling_mode Full aspect -output DP2-1 -crtc 1 -mode 1920x1080 -pos 1920x0 -rate 60.00 -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-max_bpc 12 -x-prop-non_desktop 0 diff --git a/.config/autorandr/home/setup b/.config/autorandr/home/setup deleted file mode 100644 index fd3e207..0000000 --- a/.config/autorandr/home/setup +++ /dev/null @@ -1,2 +0,0 @@ -DP2-1 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 -eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/home1/config b/.config/autorandr/home1/config deleted file mode 100644 index 9781acf..0000000 --- a/.config/autorandr/home1/config +++ /dev/null @@ -1,36 +0,0 @@ -output DP1 -off -output DP1-2 -off -output DP1-3 -off -output DP2 -off -output HDMI1 -off -output HDMI2 -off -output HDMI3 -off -output VIRTUAL1 -off -output eDP1 -crtc 0 -mode 1920x1080 -pos 0x0 -primary -rate 60.00 -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -x-prop-scaling_mode Full aspect -output DP1-1 -crtc 1 -mode 1920x1080 -pos 1920x0 -rate 60.00 -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-max_bpc 12 -x-prop-non_desktop 0 diff --git a/.config/autorandr/home1/setup b/.config/autorandr/home1/setup deleted file mode 100644 index 6635dc4..0000000 --- a/.config/autorandr/home1/setup +++ /dev/null @@ -1,2 +0,0 @@ -DP1-1 --CONNECTED-BUT-EDID-UNAVAILABLE--DP1-1 -eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/home2+xppen/config b/.config/autorandr/home2+xppen/config deleted file mode 100644 index 96b2562..0000000 --- a/.config/autorandr/home2+xppen/config +++ /dev/null @@ -1,43 +0,0 @@ -output DP1 -off -output DP1-2 -off -output DP2 -off -output HDMI1 -off -output HDMI2 -off -output HDMI3 -off -output VIRTUAL1 -off -output eDP1 -crtc 0 -mode 1920x1080 -pos 0x0 -primary -rate 60.00 -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -x-prop-scaling_mode Full aspect -output DP1-1 -crtc 1 -mode 1920x1080 -pos 1920x0 -rate 60.00 -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-max_bpc 12 -x-prop-non_desktop 0 -output DP1-3 -crtc 2 -mode 1920x1080 -pos 1067x1080 -rate 60.00 -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-max_bpc 12 -x-prop-non_desktop 0 diff --git a/.config/autorandr/home2+xppen/setup b/.config/autorandr/home2+xppen/setup deleted file mode 100644 index e773f6c..0000000 --- a/.config/autorandr/home2+xppen/setup +++ /dev/null @@ -1,3 +0,0 @@ -DP1-1 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 -DP1-3 00ffffffffffff0054e41515170621201f1f0104a5221378221e55a059569f270d5054210800d1c0818095009500b30081c001010101023a801871382d40582c450059c21000001e000000ff0032303231303631370a20202020000000fc00434431363046480a2020202020000000fd00383d1e5311000a2020202020200150020310c043900204230907078301000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094 -eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/home2/config b/.config/autorandr/home2/config deleted file mode 100644 index b13816f..0000000 --- a/.config/autorandr/home2/config +++ /dev/null @@ -1,36 +0,0 @@ -output DP1 -off -output DP2 -off -output DP2-2 -off -output DP2-3 -off -output HDMI1 -off -output HDMI2 -off -output HDMI3 -off -output VIRTUAL1 -off -output eDP1 -crtc 0 -mode 1920x1080 -pos 0x0 -primary -rate 60.00 -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -x-prop-scaling_mode Full aspect -output DP2-1 -crtc 1 -mode 1920x1080 -pos 1920x0 -rate 60.00 -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-max_bpc 12 -x-prop-non_desktop 0 diff --git a/.config/autorandr/home2/setup b/.config/autorandr/home2/setup deleted file mode 100644 index 4f718f1..0000000 --- a/.config/autorandr/home2/setup +++ /dev/null @@ -1,2 +0,0 @@ -DP2-1 --CONNECTED-BUT-EDID-UNAVAILABLE--DP2-1 -eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/mobile/config b/.config/autorandr/mobile/config deleted file mode 100644 index b06311f..0000000 --- a/.config/autorandr/mobile/config +++ /dev/null @@ -1,24 +0,0 @@ -output DP1 -off -output DP1-1 -off -output DP1-2 -off -output DP1-3 -off -output DP2 -off -output HDMI1 -off -output HDMI2 -off -output HDMI3 -off -output VIRTUAL1 -off -output eDP1 -crtc 0 -mode 1920x1080 -pos 0x0 -primary -rate 60.00 diff --git a/.config/autorandr/mobile/setup b/.config/autorandr/mobile/setup deleted file mode 100644 index 2134606..0000000 --- a/.config/autorandr/mobile/setup +++ /dev/null @@ -1 +0,0 @@ -eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch deleted file mode 100755 index fad4cc2..0000000 --- a/.config/autorandr/postswitch +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/env bash - -function move_workspace_to_screen() { - workspace="${1}" - screen="${2}" - - i3-msg workspace "${workspace}" - i3-msg move workspace to output "${screen}" - - sed -i "/^workspace \"${workspace}\" output/ c \\workspace \"${workspace}\" output \"${screen}\"" ${HOME}/.config/i3/config -} - -function set_screens() { - - move_workspace_to_screen 1 "${1}" - move_workspace_to_screen 3 "${1}" - move_workspace_to_screen 4 "${1}" - move_workspace_to_screen 5 "${2}" - move_workspace_to_screen 6 "${2}" - move_workspace_to_screen 7 "${2}" - move_workspace_to_screen 8 "${2}" - move_workspace_to_screen 9 "${3}" - move_workspace_to_screen 10 "${3}" - move_workspace_to_screen 11 "${3}" - move_workspace_to_screen 12 "${3}" - - i3-msg reload - - i3-msg workspace 9 - i3-msg workspace 5 - i3-msg workspace 1 - - bash ${HOME}/.config/polybar/launch.sh -} - -function set_screens_with_xppen() { - - move_workspace_to_screen 1 "${1}" - move_workspace_to_screen 3 "${1}" - move_workspace_to_screen 4 "${1}" - move_workspace_to_screen 5 "${2}" - move_workspace_to_screen 6 "${2}" - move_workspace_to_screen 7 "${2}" - move_workspace_to_screen 8 "${2}" - move_workspace_to_screen 9 "${2}" - move_workspace_to_screen 10 "${2}" - move_workspace_to_screen 11 "${2}" - move_workspace_to_screen 12 "${3}" - - i3-msg reload - - i3-msg workspace 12 - i3-msg workspace 5 - i3-msg workspace 1 - - bash ${HOME}/.config/polybar/launch.sh -} - -function main() { - - case $(autorandr --detected) in - "home") - set_screens "eDP1" "DP2-1" "DP2-1" - pacmd set-card-profile 0 HiFi: Default - ;; - - "home1") - set_screens "eDP1" "DP1-1" "DP1-1" - pacmd set-card-profile 0 HiFi: Default - ;; - - "home2") - set_screens "eDP1" "DP1-1" "DP1-1" - pacmd set-card-profile 0 HiFi: Default - ;; - - "work") - set_screens "eDP1" "DP1-1" "DP1-2" - pacmd set-card-profile 0 HiFi: Default - ;; - - "work2") - set_screens "eDP1" "DP2-1" "DP2-2" - pacmd set-card-profile 0 HiFi: Default - ;; - - "mobile") - set_screens "eDP1" "eDP1" "eDP1" - ;; - - "home+xppen") - set_screens_with_xppen "eDP1" "DP2-1" "DP2-3" - pacmd set-card-profile 0 HiFi: Default - ;; - - "home1+xppen") - set_screens_with_xppen "eDP1" "DP1-1" "DP1-3" - pacmd set-card-profile 0 HiFi: Default - ;; - - "home2+xppen") - set_screens_with_xppen "eDP1" "DP1-1" "DP1-3" - pacmd set-card-profile 0 HiFi: Default - ;; - - *) - notify-send -i display "Display profile" "CONFIGURATION NON RECONNUE" - ;; - esac - - notify-send -i display "Display profile" "Bacule vers $(autorandr --detected)" -} - -main diff --git a/.config/autorandr/work/config b/.config/autorandr/work/config deleted file mode 100644 index 628d0fe..0000000 --- a/.config/autorandr/work/config +++ /dev/null @@ -1,30 +0,0 @@ -output DP1 -off -output DP1-3 -off -output DP2 -off -output HDMI1 -off -output HDMI2 -off -output HDMI3 -off -output VIRTUAL1 -off -output eDP1 -crtc 0 -mode 1920x1080 -pos 0x0 -primary -rate 60.00 -output DP1-1 -crtc 1 -mode 1920x1080 -pos 1920x0 -rate 60.00 -output DP1-2 -crtc 2 -mode 1920x1080 -pos 3840x0 -rate 60.00 diff --git a/.config/autorandr/work/setup b/.config/autorandr/work/setup deleted file mode 100644 index 0622763..0000000 --- a/.config/autorandr/work/setup +++ /dev/null @@ -1,3 +0,0 @@ -DP1-1 00ffffffffffff0010acd9d04c475530091d0104a5351e783a0565a756529c270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f282100001e000000ff00313835375a54320a2020202020000000fc0044454c4c205032343139480a20000000fd00384c1e5311010a20202020202000ae -DP1-2 00ffffffffffff0010acd9d04c4b5530091d0104a5351e783a0565a756529c270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f282100001e000000ff00484a34375a54320a2020202020000000fc0044454c4c205032343139480a20000000fd00384c1e5311010a2020202020200082 -eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/autorandr/work2/config b/.config/autorandr/work2/config deleted file mode 100644 index 05d3a27..0000000 --- a/.config/autorandr/work2/config +++ /dev/null @@ -1,30 +0,0 @@ -output DP1 -off -output DP2 -off -output DP2-3 -off -output HDMI1 -off -output HDMI2 -off -output HDMI3 -off -output VIRTUAL1 -off -output eDP1 -crtc 0 -mode 1920x1080 -pos 0x0 -primary -rate 60.00 -output DP2-1 -crtc 1 -mode 1920x1080 -pos 1920x0 -rate 60.00 -output DP2-2 -crtc 2 -mode 1920x1080 -pos 3840x0 -rate 60.00 diff --git a/.config/autorandr/work2/setup b/.config/autorandr/work2/setup deleted file mode 100644 index dcf58d9..0000000 --- a/.config/autorandr/work2/setup +++ /dev/null @@ -1,3 +0,0 @@ -DP2-1 00ffffffffffff0010acd9d04c475530091d0104a5351e783a0565a756529c270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f282100001e000000ff00313835375a54320a2020202020000000fc0044454c4c205032343139480a20000000fd00384c1e5311010a20202020202000ae -DP2-2 00ffffffffffff0010acd9d04c4b5530091d0104a5351e783a0565a756529c270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f282100001e000000ff00484a34375a54320a2020202020000000fc0044454c4c205032343139480a20000000fd00384c1e5311010a2020202020200082 -eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c diff --git a/.config/i3/config b/.config/i3/config deleted file mode 100644 index d364981..0000000 --- a/.config/i3/config +++ /dev/null @@ -1,238 +0,0 @@ - -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -workspace "1" output "eDP1" -workspace "2" output "eDP1" -workspace "3" output "eDP1" -workspace "4" output "eDP1" -workspace "5" output "eDP1" -workspace "6" output "eDP1" -workspace "7" output "eDP1" -workspace "8" output "eDP1" -workspace "9" output "eDP1" -workspace "10" output "eDP1" -workspace "11" output "eDP1" -workspace "12" output "eDP1" - -focus_follows_mouse no - -# i3 config file (v4) -# -# Please see http://i3wm.org/docs/userguide.html for a complete reference! - -set $mod Mod4 - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -#font pango:DejaVu Sans 6 - -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -font pango:Hack 8 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -gaps inner 10 -gaps outer 0 - -smart_gaps on -smart_borders on - -for_window [class="^.*"] border pixel 2 - -#gaps inner all set 40 -#gaps outer current plus 20 - - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# start a terminal -#bindsym $mod+Return exec i3-sensible-terminal -bindsym $mod+Return exec alacritty - -# kill focused window -bindsym $mod+Shift+A kill - -# start dmenu (a program launcher) -#bindsym $mod+d exec dmenu_run -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop -bindsym $mod+d exec rofi -show drun - -# change focus -#bindsym $mod+j focus left -#bindsym $mod+k focus down -#bindsym $mod+l focus up -#bindsym $mod+m focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -#bindsym $mod+Shift+j move left -#bindsym $mod+Shift+k move down -#bindsym $mod+Shift+l move up -#bindsym $mod+Shift+M move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+z layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+q focus parent - -# focus the child container -#bindsym $mod+d focus child - -# switch to workspace -bindsym $mod+ampersand workspace 1 -bindsym $mod+eacute workspace 2 -bindsym $mod+quotedbl workspace 3 -bindsym $mod+apostrophe workspace 4 -bindsym $mod+parenleft workspace 5 -bindsym $mod+minus workspace 6 -bindsym $mod+egrave workspace 7 -bindsym $mod+underscore workspace 8 -bindsym $mod+ccedilla workspace 9 -bindsym $mod+agrave workspace 10 -bindsym $mod+parenright workspace 11 -bindsym $mod+equal workspace 12 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace 1 -bindsym $mod+Shift+eacute move container to workspace 2 -bindsym $mod+Shift+3 move container to workspace 3 -bindsym $mod+Shift+4 move container to workspace 4 -bindsym $mod+Shift+5 move container to workspace 5 -bindsym $mod+Shift+6 move container to workspace 6 -bindsym $mod+Shift+egrave move container to workspace 7 -bindsym $mod+Shift+8 move container to workspace 8 -bindsym $mod+Shift+ccedilla move container to workspace 9 -bindsym $mod+Shift+agrave move container to workspace 10 -bindsym $mod+Shift+degree move container to workspace 11 -bindsym $mod+Shift+plus move container to workspace 12 - -# move current workspace between monitors -bindsym $mod+Control+left move workspace to output left -bindsym $mod+Control+right move workspace to output down -bindsym $mod+Control+up move workspace to output up -bindsym $mod+Control+down move workspace to output right - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" -bindsym $mod+Shift+e exit -bindsym $mod+l exec i3lock -f -c 222222 - - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym m resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} - -bindsym $mod+r mode "resize" - -bindsym $mod+w sticky toggle - -# Color scheme night owl -#client.focused #a2bffc #a2bffc #282828 #282828 -#client.focused_inactive #1d2021 #1d2021 #928374 #282828 -#client.unfocused #32302f #32302f #928374 #282828 -#client.urgent #cc241d #cc241d #ebdbb2 #282828 - -# Theme -# -# Note: I only really need border for the current focused window, so the inactive broder is set to background color. If you want a more visible vorder, replace #000b1e with #0abdc6 (for example) on client.[focused_inactive|unfocused] -default_border pixel 1 -default_floating_border pixel 1 - -client.focused #ea00d9 #ea00d9 #000b1e #ea00d9 #ea00d9 -client.focused_inactive #000b1e #000b1e #0abdc6 #000b1e #000b1e -client.unfocused #000b1e #000b1e #0abdc6 #000b1e #000b1e -client.urgent #ff0000 #ff0000 #000b1e #ff0000 #ff0000 -client.placeholder #000b1e #000b1e #0abdc6 #000b1e #000b1e - -exec xsetroot -solid "#222222" - -#exec "setxkbmap -option 'grp:alt_shift_toggle' -layout fr,fr -variant oss,bepo" - -# Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume 0 +5%; pactl set-sink-volume 1 +5%" -bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume 0 -5%; pactl set-sink-volume 1 -5%" -bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute 0 toggle" # mute sound - -# gestion de la luminosité -bindsym XF86MonBrightnessUp exec brightnessctl set +10% # increase screen brightness -bindsym XF86MonBrightnessDown exec brightnessctl set 10%- # decrease screen brightness - -exec_always --no-startup-id autorandr -c - -exec_always --no-startup-id bash ~/.config/polybar/launch.sh - -exec --no-startup-id pulseaudio -k && pulseaudio --start - -exec --no-startup-id nm-applet -exec --no-startup-id blueman-applet -exec --no-startup-id nextcloud -#exec --no-startup-id rofi -#exec --no-startup-id secret-tool lookup "KeePass Perso" | keepassxc --pw-stdin "$HOME/nextcloud/perso/db.kdbx" diff --git a/.config/polybar/config b/.config/polybar/config deleted file mode 100644 index 265710a..0000000 --- a/.config/polybar/config +++ /dev/null @@ -1,407 +0,0 @@ -;========================================================== -; -; -; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ -; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ -; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ -; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ -; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ -; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ -; -; -; To learn more about how to configure Polybar -; go to https://github.com/jaagr/polybar -; -; The README contains alot of information -; -;========================================================== - -[colors] -;background = ${xrdb:color0:#222} -background = #000b1e -background-alt = #133e7c -;foreground = ${xrdb:color7:#222} -foreground = #0abdc6 -foreground-alt = #ea00d9 -primary = #ffff00 -secondary = #ea00d9 -alert = #ea00d9 - -[bar/main] -monitor = ${env:MONITOR:eDP1} -width = 100% -height = 27 -;offset-x = 1% -;offset-y = 1% -radius = 0.0 -fixed-center = true - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3 -line-color = #f00 - -border-size = 2 -border-color = ${colors.background} - -padding-left = 0 -padding-right = 2 - -module-margin-left = 1 -module-margin-right = 2 - -font-0 = Inconsolata:size=10:antialias=true -font-1 = unifont:size=8:antialias=true - -modules-left = i3 -modules-center = date -modules-right = battery pulseaudio - -tray-position = right -tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff - -;wm-restack = bspwm -wm-restack = i3 - -;override-redirect = true - -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev - -cursor-click = pointer -cursor-scroll = ns-resize - -[module/xwindow] -type = internal/xwindow -label = %title:0:30:...% - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} -format-prefix-underline = ${colors.secondary} - -label-layout = %layout% -label-layout-underline = ${colors.secondary} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-background = ${colors.secondary} -label-indicator-underline = ${colors.secondary} - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / - -label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.foreground-alt} - -[module/bspwm] -type = internal/bspwm - -label-focused = %index% -label-focused-background = ${colors.background-alt} -label-focused-underline= ${colors.primary} -label-focused-padding = 2 - -label-occupied = %index% -label-occupied-padding = 2 - -label-urgent = %index%! -label-urgent-background = ${colors.alert} -label-urgent-padding = 2 - -label-empty = %index% -label-empty-foreground = ${colors.foreground-alt} -label-empty-padding = 2 - -; Separator in between workspaces -; label-separator = | - -[module/i3] -type = internal/i3 -format = -index-sort = true -wrapping-scroll = false - -; Only show workspaces on the same output as the bar -pin-workspaces = true - -label-mode-padding = 2 -label-mode-foreground = #000 -label-mode-background = ${colors.primary} - -; focused = Active workspace on focused monitor -label-focused = %index% -label-focused-background = ${module/bspwm.label-focused-background} -label-focused-underline = ${module/bspwm.label-focused-underline} -label-focused-padding = ${module/bspwm.label-focused-padding} - -; unfocused = Inactive workspace on any monitor -label-unfocused = %index% -label-unfocused-padding = ${module/bspwm.label-occupied-padding} - -; visible = Active workspace on unfocused monitor -label-visible = %index% -label-visible-background = ${self.label-focused-background} -label-visible-underline = ${self.label-focused-underline} -label-visible-padding = ${self.label-focused-padding} - -; urgent = Workspace with urgency hint set -label-urgent = %index% -label-urgent-background = ${module/bspwm.label-urgent-background} -label-urgent-padding = ${module/bspwm.label-urgent-padding} - -; Separator in between workspaces -; label-separator = | - - -[module/mpd] -type = internal/mpd -format-online = - -icon-prev =  -icon-stop =  -icon-play =  -icon-pause =  -icon-next =  - -label-song-maxlen = 25 -label-song-ellipsis = true - -;[module/xbacklight] -;type = internal/xbacklight -; -;format =