Clean unused files for Sway
This commit is contained in:
		| @@ -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 | ||||
| @@ -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 | ||||
| @@ -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 | ||||
| @@ -1,3 +0,0 @@ | ||||
| DP2-1 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 | ||||
| DP2-3 00ffffffffffff0054e41515170621201f1f0104a5221378221e55a059569f270d5054210800d1c0818095009500b30081c001010101023a801871382d40582c450059c21000001e000000ff0032303231303631370a20202020000000fc00434431363046480a2020202020000000fd00383d1e5311000a2020202020200150020310c043900204230907078301000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094 | ||||
| eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c | ||||
| @@ -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 | ||||
| @@ -1,2 +0,0 @@ | ||||
| DP2-1 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 | ||||
| eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c | ||||
| @@ -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 | ||||
| @@ -1,2 +0,0 @@ | ||||
| DP1-1 --CONNECTED-BUT-EDID-UNAVAILABLE--DP1-1 | ||||
| eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c | ||||
| @@ -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 | ||||
| @@ -1,3 +0,0 @@ | ||||
| DP1-1 00ffffffffffff005a6332c1010101012d1d0103803c22782e2235a3594d9c28135054bfef80b300a940a9c0950090408180814081c0023a801871382d40582c450056502100001e000000ff00554e523139343536323930320a000000fd00324b185211000a202020202020000000fc005641323731392053657269657301ad020322f14c9005040302071f141312160123097f078301000068030c001000000000023a801871382d40582c450056502100001e011d8018711c1620582c250056502100009e011d007251d01e206e28550056502100001e8c0ad08a20e02d10103e9600565021000018023a80d072382d40102c458056502100001e00000074 | ||||
| DP1-3 00ffffffffffff0054e41515170621201f1f0104a5221378221e55a059569f270d5054210800d1c0818095009500b30081c001010101023a801871382d40582c450059c21000001e000000ff0032303231303631370a20202020000000fc00434431363046480a2020202020000000fd00383d1e5311000a2020202020200150020310c043900204230907078301000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094 | ||||
| eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c | ||||
| @@ -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 | ||||
| @@ -1,2 +0,0 @@ | ||||
| DP2-1 --CONNECTED-BUT-EDID-UNAVAILABLE--DP2-1 | ||||
| eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c | ||||
| @@ -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 | ||||
| @@ -1 +0,0 @@ | ||||
| eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c | ||||
| @@ -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 | ||||
| @@ -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 | ||||
| @@ -1,3 +0,0 @@ | ||||
| DP1-1 00ffffffffffff0010acd9d04c475530091d0104a5351e783a0565a756529c270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f282100001e000000ff00313835375a54320a2020202020000000fc0044454c4c205032343139480a20000000fd00384c1e5311010a20202020202000ae | ||||
| DP1-2 00ffffffffffff0010acd9d04c4b5530091d0104a5351e783a0565a756529c270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f282100001e000000ff00484a34375a54320a2020202020000000fc0044454c4c205032343139480a20000000fd00384c1e5311010a2020202020200082 | ||||
| eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c | ||||
| @@ -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 | ||||
| @@ -1,3 +0,0 @@ | ||||
| DP2-1 00ffffffffffff0010acd9d04c475530091d0104a5351e783a0565a756529c270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f282100001e000000ff00313835375a54320a2020202020000000fc0044454c4c205032343139480a20000000fd00384c1e5311010a20202020202000ae | ||||
| DP2-2 00ffffffffffff0010acd9d04c4b5530091d0104a5351e783a0565a756529c270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f282100001e000000ff00484a34375a54320a2020202020000000fc0044454c4c205032343139480a20000000fd00384c1e5311010a2020202020200082 | ||||
| eDP1 00ffffffffffff003870560000000000121e0104951f1178027535955c578f281d5054000000010101010101010101010101010101012a3680a070381f403020350035ae1000001a522b80a070381f403020350035ae1000001a000000fe004a34594b4780313430354c3031000000000000412199001100000a010a2020000c | ||||
| @@ -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" | ||||
| @@ -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 = <label-state> <label-mode> | ||||
| 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 = <label-song>  <icon-prev> <icon-stop> <toggle> <icon-next> | ||||
|  | ||||
| icon-prev =  | ||||
| icon-stop =  | ||||
| icon-play =  | ||||
| icon-pause =  | ||||
| icon-next =  | ||||
|  | ||||
| label-song-maxlen = 25 | ||||
| label-song-ellipsis = true | ||||
|  | ||||
| ;[module/xbacklight] | ||||
| ;type = internal/xbacklight | ||||
| ; | ||||
| ;format = <label> <bar> | ||||
| ;label = BL | ||||
| ; | ||||
| ;bar-width = 10 | ||||
| ;bar-indicator = | | ||||
| ;bar-indicator-foreground = #fff | ||||
| ;bar-indicator-font = 2 | ||||
| ;bar-fill = ─ | ||||
| ;bar-fill-font = 2 | ||||
| ;bar-fill-foreground = #9f78e1 | ||||
| ;bar-empty = ─ | ||||
| ;bar-empty-font = 2 | ||||
| ;bar-empty-foreground = ${colors.foreground-alt} | ||||
|  | ||||
| ;[module/backlight-acpi] | ||||
| ;inherit = module/xbacklight | ||||
| ;type = internal/backlight | ||||
| ;card = intel_backlight | ||||
|  | ||||
| ;[module/cpu] | ||||
| ;type = internal/cpu | ||||
| ;interval = 2 | ||||
| ;format-prefix = " " | ||||
| ;format-prefix-foreground = ${colors.foreground-alt} | ||||
| ;format-underline = #f90000 | ||||
| ;label = %percentage:2%% | ||||
|  | ||||
| ;[module/memory] | ||||
| ;type = internal/memory | ||||
| ;interval = 2 | ||||
| ;format-prefix = " " | ||||
| ;format-prefix-foreground = ${colors.foreground-alt} | ||||
| ;format-underline = #4bffdc | ||||
| ;label = %percentage_used%% | ||||
|  | ||||
| ;[module/wlan] | ||||
| ;type = internal/network | ||||
| ;interface = net1 | ||||
| ;interval = 3.0 | ||||
|  | ||||
| ;format-connected = <ramp-signal> <label-connected> | ||||
| ;format-connected-underline = #9f78e1 | ||||
| ;label-connected = %essid% | ||||
| ; | ||||
| ;format-disconnected = | ||||
| ;format-disconnected = <label-disconnected> | ||||
| ;format-disconnected-underline = ${self.format-connected-underline} | ||||
| ;label-disconnected = %ifname% disconnected | ||||
| ;label-disconnected-foreground = ${colors.foreground-alt} | ||||
|  | ||||
| ;ramp-signal-0 =  | ||||
| ;ramp-signal-1 =  | ||||
| ;ramp-signal-2 =  | ||||
| ;ramp-signal-3 =  | ||||
| ;ramp-signal-4 =  | ||||
| ;ramp-signal-foreground = ${colors.foreground-alt} | ||||
|  | ||||
| ;[module/eth] | ||||
| ;type = internal/network | ||||
| ;interface = ens1 | ||||
| ;interval = 3.0 | ||||
|  | ||||
| ;format-connected-underline = #55aa55 | ||||
| ;format-connected-prefix = " " | ||||
| ;format-connected-prefix-foreground = ${colors.foreground-alt} | ||||
| ;label-connected = %local_ip% | ||||
|  | ||||
| ;format-disconnected = | ||||
| ;format-disconnected = <label-disconnected> | ||||
| ;format-disconnected-underline = ${self.format-connected-underline} | ||||
| ;label-disconnected = %ifname% disconnected | ||||
| ;label-disconnected-foreground = ${colors.foreground-alt} | ||||
|  | ||||
| [module/date] | ||||
| type = internal/date | ||||
| interval = 5 | ||||
|  | ||||
| date = " %Y-%m-%d" | ||||
| date-alt = " %Y-%m-%d" | ||||
|  | ||||
| time = "%H:%M " | ||||
| time-alt = "%H:%M " | ||||
|  | ||||
| ;format-prefix =  | ||||
| ;format-prefix-foreground = ${colors.foreground-alt} | ||||
| format-underline = #ea00d9 | ||||
|  | ||||
| label = %date% %time% | ||||
|  | ||||
| [module/pulseaudio] | ||||
| type = internal/pulseaudio | ||||
| sink = alsa_output.pci-0000_24_00.3.analog-stereo | ||||
|  | ||||
| format-volume = <label-volume>  | ||||
| label-volume = vol %percentage%% | ||||
| label-volume-foreground = ${root.foreground} | ||||
| label-muted = "muted" | ||||
| label-muted-foreground = #ea00d9 | ||||
|  | ||||
| use-ui-max = true | ||||
|  | ||||
| [module/alsa] | ||||
| type = internal/alsa | ||||
|  | ||||
| format-volume = <label-volume> <bar-volume> | ||||
| label-volume = VOL | ||||
| label-volume-foreground = ${root.foreground} | ||||
|  | ||||
| format-muted-prefix = " " | ||||
| format-muted-foreground = ${colors.foreground-alt} | ||||
| label-muted = sound muted | ||||
|  | ||||
| bar-volume-width = 10 | ||||
| bar-volume-foreground-0 = #55aa55 | ||||
| bar-volume-foreground-1 = #55aa55 | ||||
| bar-volume-foreground-2 = #55aa55 | ||||
| bar-volume-foreground-3 = #55aa55 | ||||
| bar-volume-foreground-4 = #55aa55 | ||||
| bar-volume-foreground-5 = #f5a70a | ||||
| bar-volume-foreground-6 = #ff5555 | ||||
| bar-volume-gradient = false | ||||
| bar-volume-indicator = | | ||||
| bar-volume-indicator-font = 2 | ||||
| bar-volume-fill = ─ | ||||
| bar-volume-fill-font = 2 | ||||
| bar-volume-empty = ─ | ||||
| bar-volume-empty-font = 2 | ||||
| bar-volume-empty-foreground = ${colors.foreground-alt} | ||||
|  | ||||
| [module/battery] | ||||
| type = internal/battery | ||||
| battery = BAT0 | ||||
| adapter = ADP1 | ||||
| full-at = 98 | ||||
|  | ||||
| format-charging = <animation-charging> <label-charging> | ||||
| format-charging-underline = #ffb52a | ||||
|  | ||||
| format-discharging = <animation-discharging> <label-discharging> | ||||
| format-discharging-underline = ${self.format-charging-underline} | ||||
|  | ||||
| format-full-prefix = " " | ||||
| format-full-prefix-foreground = ${colors.foreground-alt} | ||||
| format-full-underline = ${self.format-charging-underline} | ||||
|  | ||||
| ramp-capacity-0 =  | ||||
| ramp-capacity-1 =  | ||||
| ramp-capacity-2 =  | ||||
| ramp-capacity-foreground = ${colors.foreground-alt} | ||||
|  | ||||
| animation-charging-0 =  | ||||
| animation-charging-1 =  | ||||
| animation-charging-2 =  | ||||
| animation-charging-foreground = ${colors.foreground-alt} | ||||
| animation-charging-framerate = 750 | ||||
|  | ||||
| animation-discharging-0 =  | ||||
| animation-discharging-1 =  | ||||
| animation-discharging-2 =  | ||||
| animation-discharging-foreground = ${colors.foreground-alt} | ||||
| animation-discharging-framerate = 750 | ||||
|  | ||||
| [module/temperature] | ||||
| type = internal/temperature | ||||
| thermal-zone = 0 | ||||
| warn-temperature = 60 | ||||
|  | ||||
| format = <ramp> <label> | ||||
| format-underline = #f50a4d | ||||
| format-warn = <ramp> <label-warn> | ||||
| format-warn-underline = ${self.format-underline} | ||||
|  | ||||
| label = %temperature-c% | ||||
| label-warn = %temperature-c% | ||||
| label-warn-foreground = ${colors.secondary} | ||||
|  | ||||
| ramp-0 =  | ||||
| ramp-1 =  | ||||
| ramp-2 =  | ||||
| ramp-foreground = ${colors.foreground-alt} | ||||
|  | ||||
| [module/powermenu] | ||||
| type = custom/menu | ||||
|  | ||||
| expand-right = true | ||||
|  | ||||
| format-spacing = 1 | ||||
|  | ||||
| label-open = ☢  | ||||
| label-open-foreground = ${colors.secondary} | ||||
| label-close =  cancel | ||||
| label-close-foreground = ${colors.secondary} | ||||
| label-separator = | | ||||
| label-separator-foreground = ${colors.foreground-alt} | ||||
|  | ||||
| menu-0-0 = reboot | ||||
| menu-0-0-exec = menu-open-1 | ||||
| menu-0-1 = power off | ||||
| menu-0-1-exec = menu-open-2 | ||||
|  | ||||
| menu-1-0 = cancel | ||||
| menu-1-0-exec = menu-open-0 | ||||
| menu-1-1 = reboot | ||||
| menu-1-1-exec = sudo reboot | ||||
|  | ||||
| menu-2-0 = power off | ||||
| menu-2-0-exec = sudo poweroff | ||||
| menu-2-1 = cancel | ||||
| menu-2-1-exec = menu-open-0 | ||||
|  | ||||
| [settings] | ||||
| screenchange-reload = true | ||||
| ;compositing-background = xor | ||||
| ;compositing-background = screen | ||||
| ;compositing-foreground = source | ||||
| ;compositing-border = over | ||||
|  | ||||
| [global/wm] | ||||
| margin-top = 5 | ||||
| margin-bottom = 5 | ||||
|  | ||||
| ; vim:ft=dosini | ||||
| @@ -1,19 +0,0 @@ | ||||
| #!/usr/bin/env sh | ||||
|  | ||||
| # Terminate already running bar instances | ||||
| killall -q polybar | ||||
|  | ||||
| readonly MAINSCREEN="eDP1" | ||||
|  | ||||
| # Wait until the processes have been shut down | ||||
| while pgrep -x polybar >/dev/null; do sleep 1; done | ||||
|  | ||||
| # Launch polybar | ||||
| MONITOR="${MAINSCREEN}" polybar main & | ||||
|  | ||||
| for m in $(polybar --list-monitors | cut -d":" -f1); do | ||||
| 	if [ ${m} != "${MAINSCREEN}" ]; then | ||||
|         MONITOR=$m polybar --reload main & | ||||
|     fi | ||||
| done | ||||
|  | ||||
| @@ -1,141 +0,0 @@ | ||||
| configuration { | ||||
| /*	modi: "window,run,ssh";*/ | ||||
| /*	width: 50;*/ | ||||
| /*	lines: 15;*/ | ||||
| /*	columns: 1;*/ | ||||
| /*	font: "mono 12";*/ | ||||
| /*	bw: 1;*/ | ||||
| /*	location: 0;*/ | ||||
| /*	padding: 5;*/ | ||||
| /*	yoffset: 0;*/ | ||||
| /*	xoffset: 0;*/ | ||||
| /*	fixed-num-lines: true;*/ | ||||
| /*	show-icons: false;*/ | ||||
| /*	terminal: "rofi-sensible-terminal";*/ | ||||
| /*	ssh-client: "ssh";*/ | ||||
| /*	ssh-command: "{terminal} -e {ssh-client} {host}";*/ | ||||
| /*	run-command: "{cmd}";*/ | ||||
| /*	run-list-command: "";*/ | ||||
| /*	run-shell-command: "{terminal} -e {cmd}";*/ | ||||
| /*	window-command: "xkill -id {window}";*/ | ||||
| /*	window-match-fields: "all";*/ | ||||
| /*	drun-icon-theme: ;*/ | ||||
| /*	drun-match-fields: "name,generic,exec,categories";*/ | ||||
| /*	disable-history: false;*/ | ||||
| /*	sort: false;*/ | ||||
| /*	levenshtein-sort: false;*/ | ||||
| /*	case-sensitive: false;*/ | ||||
| /*	cycle: true;*/ | ||||
| /*	sidebar-mode: false;*/ | ||||
| /*	eh: 1;*/ | ||||
| /*	auto-select: false;*/ | ||||
| /*	parse-hosts: false;*/ | ||||
| /*	parse-known-hosts: true;*/ | ||||
| /*	combi-modi: "window,run";*/ | ||||
| /*	matching: "normal";*/ | ||||
| /*	tokenize: true;*/ | ||||
| /*	m: "-5";*/ | ||||
| /*	line-margin: 2;*/ | ||||
| /*	line-padding: 1;*/ | ||||
| /*	filter: ;*/ | ||||
| /*	separator-style: "dash";*/ | ||||
| /*	hide-scrollbar: false;*/ | ||||
| /*	fullscreen: false;*/ | ||||
| /*	fake-transparency: false;*/ | ||||
| /*	dpi: -1;*/ | ||||
| /*	threads: 0;*/ | ||||
| /*	scrollbar-width: 8;*/ | ||||
| /*	scroll-method: 0;*/ | ||||
| /*	fake-background: "screenshot";*/ | ||||
| /*	window-format: "{w}    {i}{c}   {t}";*/ | ||||
| /*	click-to-exit: true;*/ | ||||
| /*	show-match: true;*/ | ||||
| /*	color-normal: ;*/ | ||||
| /*	color-urgent: ;*/ | ||||
| /*	color-active: ;*/ | ||||
| /*	color-window: ;*/ | ||||
| /*	max-history-size: 25;*/ | ||||
| /*	combi-hide-mode-prefix: false;*/ | ||||
| /*	pid: "/run/user/1000/rofi.pid";*/ | ||||
| /*	display-window: ;*/ | ||||
| /*	display-windowcd: ;*/ | ||||
| /*	display-run: ;*/ | ||||
| /*	display-ssh: ;*/ | ||||
| /*	display-drun: ;*/ | ||||
| /*	display-combi: ;*/ | ||||
| /*	display-keys: ;*/ | ||||
| /*	kb-primary-paste: "Control+V,Shift+Insert";*/ | ||||
| /*	kb-secondary-paste: "Control+v,Insert";*/ | ||||
| /*	kb-clear-line: "Control+w";*/ | ||||
| /*	kb-move-front: "Control+a";*/ | ||||
| /*	kb-move-end: "Control+e";*/ | ||||
| /*	kb-move-word-back: "Alt+b";*/ | ||||
| /*	kb-move-word-forward: "Alt+f";*/ | ||||
| /*	kb-move-char-back: "Left,Control+b";*/ | ||||
| /*	kb-move-char-forward: "Right,Control+f";*/ | ||||
| /*	kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/ | ||||
| /*	kb-remove-word-forward: "Control+Alt+d";*/ | ||||
| /*	kb-remove-char-forward: "Delete,Control+d";*/ | ||||
| /*	kb-remove-char-back: "BackSpace,Control+h";*/ | ||||
| /*	kb-remove-to-eol: "Control+k";*/ | ||||
| /*	kb-remove-to-sol: "Control+u";*/ | ||||
| /*	kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/ | ||||
| /*	kb-accept-custom: "Control+Return";*/ | ||||
| /*	kb-accept-alt: "Shift+Return";*/ | ||||
| /*	kb-delete-entry: "Shift+Delete";*/ | ||||
| /*	kb-mode-next: "Shift+Right,Control+Tab";*/ | ||||
| /*	kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/ | ||||
| /*	kb-row-left: "Control+Page_Up";*/ | ||||
| /*	kb-row-right: "Control+Page_Down";*/ | ||||
| /*	kb-row-up: "Up,Control+p,ISO_Left_Tab";*/ | ||||
| /*	kb-row-down: "Down,Control+n";*/ | ||||
| /*	kb-row-tab: "Tab";*/ | ||||
| /*	kb-page-prev: "Page_Up";*/ | ||||
| /*	kb-page-next: "Page_Down";*/ | ||||
| /*	kb-row-first: "Home,KP_Home";*/ | ||||
| /*	kb-row-last: "End,KP_End";*/ | ||||
| /*	kb-row-select: "Control+space";*/ | ||||
| /*	kb-screenshot: "Alt+S";*/ | ||||
| /*	kb-toggle-case-sensitivity: "grave,dead_grave";*/ | ||||
| /*	kb-toggle-sort: "Alt+grave";*/ | ||||
| /*	kb-cancel: "Escape,Control+g,Control+bracketleft";*/ | ||||
| /*	kb-custom-1: "Alt+1";*/ | ||||
| /*	kb-custom-2: "Alt+2";*/ | ||||
| /*	kb-custom-3: "Alt+3";*/ | ||||
| /*	kb-custom-4: "Alt+4";*/ | ||||
| /*	kb-custom-5: "Alt+5";*/ | ||||
| /*	kb-custom-6: "Alt+6";*/ | ||||
| /*	kb-custom-7: "Alt+7";*/ | ||||
| /*	kb-custom-8: "Alt+8";*/ | ||||
| /*	kb-custom-9: "Alt+9";*/ | ||||
| /*	kb-custom-10: "Alt+0";*/ | ||||
| /*	kb-custom-11: "Alt+exclam";*/ | ||||
| /*	kb-custom-12: "Alt+at";*/ | ||||
| /*	kb-custom-13: "Alt+numbersign";*/ | ||||
| /*	kb-custom-14: "Alt+dollar";*/ | ||||
| /*	kb-custom-15: "Alt+percent";*/ | ||||
| /*	kb-custom-16: "Alt+dead_circumflex";*/ | ||||
| /*	kb-custom-17: "Alt+ampersand";*/ | ||||
| /*	kb-custom-18: "Alt+asterisk";*/ | ||||
| /*	kb-custom-19: "Alt+parenleft";*/ | ||||
| /*	kb-select-1: "Super+1";*/ | ||||
| /*	kb-select-2: "Super+2";*/ | ||||
| /*	kb-select-3: "Super+3";*/ | ||||
| /*	kb-select-4: "Super+4";*/ | ||||
| /*	kb-select-5: "Super+5";*/ | ||||
| /*	kb-select-6: "Super+6";*/ | ||||
| /*	kb-select-7: "Super+7";*/ | ||||
| /*	kb-select-8: "Super+8";*/ | ||||
| /*	kb-select-9: "Super+9";*/ | ||||
| /*	kb-select-10: "Super+0";*/ | ||||
| /*	ml-row-left: "ScrollLeft";*/ | ||||
| /*	ml-row-right: "ScrollRight";*/ | ||||
| /*	ml-row-up: "ScrollUp";*/ | ||||
| /*	ml-row-down: "ScrollDown";*/ | ||||
| /*	me-select-entry: "MousePrimary";*/ | ||||
| /*	me-accept-entry: "MouseDPrimary";*/ | ||||
| /*	me-accept-custom: "Control+MouseDPrimary";*/ | ||||
| } | ||||
|  | ||||
|  | ||||
| @theme "cyberpunk-neon" | ||||
| @@ -1,111 +0,0 @@ | ||||
| * { | ||||
|     darkpurple: #711c91; | ||||
|     purple: #ea00d9; | ||||
|     lightblue: #0abdc6; | ||||
|     blue: #133E7C; | ||||
|     darkblue: #091833; | ||||
|     green: #60ff60; | ||||
|     yellow: #FFFF00; | ||||
|     orange: #f09C02; | ||||
|     pink: #ffa0a0; | ||||
|     red: #FF0000; | ||||
| } | ||||
|  | ||||
| #window { | ||||
|     location: center; | ||||
|     anchor:   center; | ||||
|     border:  2px; | ||||
|     border-color: @purple; | ||||
|     spacing: 0; | ||||
|     children:  [mainbox]; | ||||
|     orientation: horizontal; | ||||
|     background-color: @darkblue; | ||||
| } | ||||
|  | ||||
| #mainbox { | ||||
|     spacing: 0; | ||||
|     children: [ inputbar, listview ]; | ||||
|     background-color: @darkblue; | ||||
| } | ||||
|  | ||||
| #message { | ||||
|     border-color: @red; | ||||
|     border:  5px; | ||||
|     padding: 8; | ||||
|     background-color: @green; | ||||
| } | ||||
|  | ||||
| #message { | ||||
|     color: @black; | ||||
| } | ||||
|  | ||||
| #inputbar { | ||||
|     color: @purple; | ||||
|     padding: 12px; | ||||
|     background-color: @darkblue; | ||||
| } | ||||
|  | ||||
| #entry,prompt,case-indicator { | ||||
|     text-font: inherit; | ||||
|     text-color:inherit; | ||||
|     background-color: inherit; | ||||
| } | ||||
|  | ||||
| #entry  { | ||||
|     color: @lightblue; | ||||
| } | ||||
|  | ||||
| #prompt { | ||||
|     margin: 0px 0.3em 0em 0em ; | ||||
| } | ||||
|  | ||||
| #listview { | ||||
|     padding: 0px; | ||||
|     border-color: @pink; | ||||
|     dynamic: false; | ||||
|     lines: 10; | ||||
|     background-color: @darkblue; | ||||
| } | ||||
|  | ||||
| #element,element-icon,element-text { | ||||
|     color: inherit; | ||||
|     background-color: inherit; | ||||
| } | ||||
|  | ||||
| #element { | ||||
|     padding: 5px; | ||||
|     margin: 0 5px; | ||||
|     vertical-align: 0.5; | ||||
| 	border-color: @magenta; | ||||
|     color: @lightblue; | ||||
|     font:inherit; | ||||
| } | ||||
|  | ||||
| #element selected.normal { | ||||
|     color: @darkblue; | ||||
|     background-color: @yellow; | ||||
| } | ||||
|  | ||||
| #element-text { | ||||
|     highlight: bold #711c91; | ||||
| } | ||||
|  | ||||
| #element alternate active { | ||||
|     foreground: @blue; | ||||
| } | ||||
|  | ||||
| #element alternate urgent { | ||||
|     foreground: @red; | ||||
| } | ||||
|  | ||||
| #element selected active { | ||||
|     background-color: @blue; | ||||
|     foreground: @lightblue; | ||||
| } | ||||
|  | ||||
| #element selected urgent { | ||||
|     background-color: @red; | ||||
|     foreground: @dark; | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user