From 5a870ff3d679762b64c52c80ce2463ba70545182 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Thu, 1 Feb 2024 12:44:36 +0100 Subject: [PATCH] delete unused leftwm and xmonad configs --- .gitmodules | 3 - non-nix/leftwm/config.toml | 376 ---------------------- non-nix/leftwm/scripts/dzen_exit_menu.pl | 21 -- non-nix/leftwm/themes.toml | 211 ------------ non-nix/leftwm/themes/current.diff | 134 -------- non-nix/xmonad/build-x86_64-linux/Main.hi | Bin 3483 -> 0 bytes non-nix/xmonad/build-x86_64-linux/Main.o | Bin 151000 -> 0 bytes non-nix/xmonad/scripts/dzen_exit_menu.pl | 21 -- non-nix/xmonad/xmonad-x86_64-linux | Bin 128216 -> 0 bytes non-nix/xmonad/xmonad.errors | 1 - non-nix/xmonad/xmonad.hi | Bin 3925 -> 0 bytes non-nix/xmonad/xmonad.hs | 205 ------------ non-nix/xmonad/xmonad.o | Bin 133184 -> 0 bytes 13 files changed, 972 deletions(-) delete mode 100644 .gitmodules delete mode 100644 non-nix/leftwm/config.toml delete mode 100755 non-nix/leftwm/scripts/dzen_exit_menu.pl delete mode 100644 non-nix/leftwm/themes.toml delete mode 100644 non-nix/leftwm/themes/current.diff delete mode 100644 non-nix/xmonad/build-x86_64-linux/Main.hi delete mode 100644 non-nix/xmonad/build-x86_64-linux/Main.o delete mode 100755 non-nix/xmonad/scripts/dzen_exit_menu.pl delete mode 100755 non-nix/xmonad/xmonad-x86_64-linux delete mode 100644 non-nix/xmonad/xmonad.errors delete mode 100644 non-nix/xmonad/xmonad.hi delete mode 100644 non-nix/xmonad/xmonad.hs delete mode 100644 non-nix/xmonad/xmonad.o diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 9caf8c4..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "current"] - path = leftwm/themes/current - url = https://github.com/lex148/forest diff --git a/non-nix/leftwm/config.toml b/non-nix/leftwm/config.toml deleted file mode 100644 index 422bc40..0000000 --- a/non-nix/leftwm/config.toml +++ /dev/null @@ -1,376 +0,0 @@ -modkey = "Mod4" -mousekey = "Mod4" -workspaces = [] -tags = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ] -layouts = [ - "MainAndVertStack", - "MainAndHorizontalStack", - # "MainAndDeck", - #"GridHorizontal", - # "EvenHorizontal", - # "EvenVertical", - # "Fibonacci", - # "LeftMain", - # "CenterMain", - # "CenterMainBalanced", - # "CenterMainFluid", - # "Monocle", - # "RightWiderLeftStack", - # "LeftWiderRightStack" -] -layout_mode = "Tag" -insert_behavior = "Bottom" -disable_current_tag_swap = false -disable_tile_drag = true -focus_behaviour = "Sloppy" -focus_new_windows = true -disable_window_snap = true -window_rules = [ - {window_class = "firefox", window_title = "Mozilla Firefox$", spawn_on_tag = 1}, - {window_class = "TelegramDesktop", spawn_on_tag = 9}, - {window_class = "Signal", spawn_on_tag = 9}, - {window_class = "Rocket.Chat", spawn_on_tag = 9}, - {window_class = "Element", spawn_on_tag = 9}, - {window_class = "Thunderbird", spawn_on_tag = 10}, - {window_class = "zoom", spawn_on_tag = 5}, - - # {window_title = "Manjaro Settings Manager", spawn_floating = true}, - # {window_class = "Pamac-manager", spawn_floating = true}, - # {window_class = "Pamac-updater", spawn_floating = true}, - # {window_class = "Qalculate-gtk", spawn_floating = true}, -] - -[[keybind]] -command = "SetLayout" -value = "Monocle" -modifier = ["modkey"] -key = "m" - -[[scratchpad]] -name = "calculator" -value = "qalculate-gtk" - -[[keybind]] -command = "ToggleScratchPad" -value = "calculator" -modifier = ["modkey"] -key = "c" - -[[keybind]] -command = "Execute" -value = "~/.config/leftwm/scripts/dzen_exit_menu.pl" -modifier = ["modkey", "Shift"] -key = "e" - -[[keybind]] -command = "Execute" -value = "firefox" -modifier = ["modkey"] -key = "b" - -[[keybind]] -command = "Execute" -value = "krusader" -modifier = ["modkey"] -key = "t" - -[[keybind]] -command = "Execute" -value = "rofi -show run #dmenu_recency -i" -modifier = ["modkey"] -key = "d" - -[[keybind]] -command = "Execute" -value = "alacritty" -modifier = ["modkey"] -key = "Return" - -[[keybind]] -command = "ToggleFullScreen" -value = "" -modifier = ["modkey"] -key = "f" - -[[keybind]] -command = "ToggleFloating" -value = "" -modifier = ["modkey", "Shift"] -key = "space" - -[[keybind]] -command = "CloseWindow" -value = "" -modifier = ["modkey"] -key = "q" - -[[keybind]] -command = "CloseWindow" -value = "" -modifier = ["modkey"] -key = "x" - -[[keybind]] -command ="SoftReload" -value = "" -modifier = ["modkey", "Shift"] -key = "r" - -#[[keybind]] -#command = "MoveToLastWorkspace" -#value = "" -#modifier = ["modkey", "Shift"] -#key = "w" - -#[[keybind]] -#command = "SwapTags" -#value = "" -#modifier = ["modkey"] -#key = "w" - -#[[keybind]] -#command = "MoveWindowUp" -#value = "" -#modifier = ["modkey", "Shift"] -#key = "k" - -#[[keybind]] -#command = "MoveWindowDown" -#value = "" -#modifier = ["modkey", "Shift"] -#key = "j" - -#[[keybind]] -#command = "MoveWindowTop" -#value = "" -#modifier = ["modkey", "Shift"] -#key = "Return" - -#[[keybind]] -#command = "FocusWindowUp" -#value = "" -#modifier = ["modkey"] -#key = "k" - -#[[keybind]] -#command = "FocusWindowDown" -#value = "" -#modifier = ["modkey"] -#key = "j" - -#[[keybind]] -#command = "NextLayout" -#value = "" -#modifier = ["modkey", "Control"] -#key = "k" - -#[[keybind]] -#command = "PreviousLayout" -#value = "" -#modifier = ["modkey", "Control"] -#key = "j" - -#[[keybind]] -#command = "FocusWorkspaceNext" -#value = "" -#modifier = ["modkey"] -#key = "l" - -#[[keybind]] -#command = "FocusWorkspacePrevious" -#value = "" -#modifier = ["modkey"] -#key = "h" - - -[[keybind]] -command = "FocusWindowUp" -value = "" -modifier = ["modkey"] -key = "Up" - -[[keybind]] -command = "FocusWindowDown" -value = "" -modifier = ["modkey"] -key = "Down" - -[[keybind]] -command = "FocusWindowTop" -value = "true" -modifier = ["modkey"] -key = "Left" - -[[keybind]] -command = "FocusWindowTop" -value = "true" -modifier = ["modkey"] -key = "Right" - -[[keybind]] -command = "MoveWindowUp" -value = "" -modifier = ["modkey", "Shift"] -key = "Up" - -[[keybind]] -command = "MoveWindowDown" -value = "" -modifier = ["modkey", "Shift"] -key = "Down" - -[[keybind]] -command = "MoveWindowTop" -value = "" -modifier = ["modkey", "Shift"] -key = "Left" - -[[keybind]] -command = "MoveWindowTop" -value = "" -modifier = ["modkey", "Shift"] -key = "Right" - -[[keybind]] -command = "NextLayout" -value = "" -modifier = ["modkey", "Control"] -key = "Up" - -[[keybind]] -command = "RotateTag" -value = "" -modifier = ["modkey", "Control"] -key = "Down" - -#[[keybind]] -#command = "FocusWorkspaceNext" -#value = "" -#modifier = ["modkey"] -#key = "Right" - -#[[keybind]] -#command = "FocusWorkspacePrevious" -#value = "" -#modifier = ["modkey"] -#key = "Left" - -[[keybind]] -command = "GotoTag" -value = "1" -modifier = ["modkey"] -key = "1" - -[[keybind]] -command = "GotoTag" -value = "2" -modifier = ["modkey"] -key = "2" - -[[keybind]] -command = "GotoTag" -value = "3" -modifier = ["modkey"] -key = "3" - -[[keybind]] -command = "GotoTag" -value = "4" -modifier = ["modkey"] -key = "4" - -[[keybind]] -command = "GotoTag" -value = "5" -modifier = ["modkey"] -key = "5" - -[[keybind]] -command = "GotoTag" -value = "6" -modifier = ["modkey"] -key = "6" - -[[keybind]] -command = "GotoTag" -value = "7" -modifier = ["modkey"] -key = "7" - -[[keybind]] -command = "GotoTag" -value = "8" -modifier = ["modkey"] -key = "8" - -[[keybind]] -command = "GotoTag" -value = "9" -modifier = ["modkey"] -key = "9" - -[[keybind]] -command = "GotoTag" -value = "10" -modifier = ["modkey"] -key = "0" - -[[keybind]] -command = "MoveToTag" -value = "1" -modifier = ["modkey", "Shift"] -key = "1" - -[[keybind]] -command = "MoveToTag" -value = "2" -modifier = ["modkey", "Shift"] -key = "2" - -[[keybind]] -command = "MoveToTag" -value = "3" -modifier = ["modkey", "Shift"] -key = "3" - -[[keybind]] -command = "MoveToTag" -value = "4" -modifier = ["modkey", "Shift"] -key = "4" - -[[keybind]] -command = "MoveToTag" -value = "5" -modifier = ["modkey", "Shift"] -key = "5" - -[[keybind]] -command = "MoveToTag" -value = "6" -modifier = ["modkey", "Shift"] -key = "6" - -[[keybind]] -command = "MoveToTag" -value = "7" -modifier = ["modkey", "Shift"] -key = "7" - -[[keybind]] -command = "MoveToTag" -value = "8" -modifier = ["modkey", "Shift"] -key = "8" - -[[keybind]] -command = "MoveToTag" -value = "9" -modifier = ["modkey", "Shift"] -key = "9" - -[[keybind]] -command = "MoveToTag" -value = "10" -modifier = ["modkey", "Shift"] -key = "0" diff --git a/non-nix/leftwm/scripts/dzen_exit_menu.pl b/non-nix/leftwm/scripts/dzen_exit_menu.pl deleted file mode 100755 index 3b713a5..0000000 --- a/non-nix/leftwm/scripts/dzen_exit_menu.pl +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/perl -use strict; -use warnings; - -my $message="System (l) lock, (e) logout, (r) reboot, (s) shutdown"; -my $screen_height=1080; -my $message_height=34; - -my %actions; -$actions{"l"} = "i3lock --ignore-empty-password --color 000000"; -$actions{"e"} = "pkill leftwm"; -$actions{"r"} = "systemctl reboot"; -$actions{"s"} = "systemctl poweroff"; - -my @dzen_actions; -while ((my $key, my $action) = each (%actions)){ - push @dzen_actions, "key_$key=exit,exec:$action"; -} -my $joined_actions = join(";", @dzen_actions); -print "$joined_actions"; -`echo "$message" | dzen2 -h $message_height -p -y $screen_height -e "onstart=grabkeys;key_Escape=exit;key_Return=exit;button1=exit;$joined_actions"`; diff --git a/non-nix/leftwm/themes.toml b/non-nix/leftwm/themes.toml deleted file mode 100644 index 2719d25..0000000 --- a/non-nix/leftwm/themes.toml +++ /dev/null @@ -1,211 +0,0 @@ -[[repos]] -url = "https://raw.githubusercontent.com/leftwm/leftwm-community-themes/master/known.toml" -name = "community" -definitions_version = 1 - -[[repos.themes]] -name = "Orange Forest" -repository = "https://github.com/PVautour/leftwm-theme-orange-forest/" -commit = "*" -version = "0.0.2" -leftwm_versions = "^0.3.0" -current = false - -[[repos.themes]] -name = "Coffee" -repository = "https://github.com/lex148/leftwm-coffee/" -commit = "*" -version = "0.0.1" -leftwm_versions = "<0.3.0" -current = false - -[[repos.themes]] -name = "Soothe" -repository = "https://github.com/b4skyx/leftwm-soothe/" -commit = "*" -version = "0.0.1" -leftwm_versions = "<0.3.0" -current = false -relative_directory = "theme/" - -[[repos.themes]] -name = "TNG" -repository = "https://github.com/lex148/leftwm-tng/" -commit = "*" -version = "0.0.1" -leftwm_versions = "<0.3.0" -current = false - -[[repos.themes]] -name = "Windows XP" -repository = "https://github.com/lex148/leftwm-windowsxp/" -commit = "*" -version = "0.0.1" -leftwm_versions = "<0.3.0" -current = false - -[[repos.themes]] -name = "Dracula Rounded" -directory = "~/.config/leftwm/themes/Dracula Rounded" -repository = "https://github.com/AethanFoot/leftwm-theme-dracula-rounded/" -commit = "*" -version = "0.0.3" -leftwm_versions = "^0.3.0" -current = false - -[[repos.themes]] -name = "Forest" -directory = "~/.config/leftwm/themes/Forest" -repository = "https://github.com/lex148/forest/" -commit = "*" -version = "0.0.1" -leftwm_versions = "^0.3.0" -current = true - -[[repos.themes]] -name = "Ground Zero" -repository = "https://github.com/Qwart376/Ground-Zero/" -commit = "*" -version = "0.0.1" -leftwm_versions = "<0.3.0" -current = false - -[[repos.themes]] -name = "Red Moon" -repository = "https://github.com/Qwart376/Red-Moon" -commit = "*" -version = "0.0.1" -leftwm_versions = "<0.3.0" -current = false - -[[repos.themes]] -name = "Blue Coffee" -directory = "~/.config/leftwm/themes/Blue Coffee" -repository = "https://github.com/Qwart376/Blue-Coffee/" -commit = "*" -version = "0.0.1" -leftwm_versions = "<0.3.0" -current = false - -[[repos.themes]] -name = "sunflower" -repository = "https://github.com/mautamu/leftwm-sunflower/" -commit = "*" -version = "0.1.2" -leftwm_versions = "^0.2.11, <0.3.0" -current = false - -[[repos.themes]] -name = "Bumblebee" -repository = "https://github.com/mfdorst/leftwm-bumblebee/" -commit = "*" -version = "0.0.1" -leftwm_versions = "^0.2.8, <0.3.0" -current = false - -[[repos.themes]] -name = "Sunset" -repository = "https://github.com/Syudagye/leftwm-sunset" -commit = "*" -version = "0.0.1" -leftwm_versions = "<0.3.0" -current = false - -[[repos.themes]] -name = "Garden" -directory = "~/.config/leftwm/themes/Garden" -repository = "https://github.com/taylor85345/leftwm-theme-garden" -commit = "*" -version = "0.0.4" -leftwm_versions = ">0.2.7" -current = false - -[[repos.themes]] -name = "Epitaph" -directory = "~/.config/leftwm/themes/Epitaph" -repository = "https://github.com/VentGrey/Epitaph" -commit = "*" -version = "0.0.2" -leftwm_versions = "*" -current = false - -[[repos.themes]] -name = "Ocean-night" -directory = "~/.config/leftwm/themes/Ocean-night" -repository = "https://github.com/TheRoniOne/ocean-night" -commit = "*" -version = "0.0.1" -leftwm_versions = "*" -current = false - -[[repos.themes]] -name = "Flamingo" -repository = "https://github.com/necaris/leftwm-theme-flamingo" -commit = "*" -version = "0.0.1" -leftwm_versions = ">0.2.7, <0.3.0" -current = false - -[[repos.themes]] -name = "Amber" -repository = "https://github.com/di-effe/amber" -commit = "*" -version = "0.2.2" -leftwm_versions = ">0.2.10, <0.3.0" -current = false - -[[repos.themes]] -name = "Catppuccin" -repository = "https://github.com/di-effe/catppuccin" -commit = "*" -version = "0.1.1" -leftwm_versions = ">0.2.10, <0.3.0" -current = false - -[[repos.themes]] -name = "Molese" -repository = "https://github.com/m0lese/leftwm-config" -commit = "*" -version = "2.1.0" -leftwm_versions = ">0.2.10, <0.3.0" -current = false - -[[repos.themes]] -name = "Double Bar" -directory = "~/.config/leftwm/themes/Double Bar" -repository = "https://github.com/PeterDauwe/doublebar/" -commit = "*" -version = "0.0.2" -leftwm_versions = "^0.3.0" -current = false - -[[repos.themes]] -name = "SpaceJelly" -repository = "https://gitlab.com/jchand99/space_jelly" -commit = "*" -version = "1.0.0" -leftwm_versions = ">0.2.10, <0.3.0" -current = false - -[[repos.themes]] -name = "Ascent" -directory = "~/.config/leftwm/themes/Ascent" -repository = "https://gitlab.com/mWalrus/ascent" -commit = "*" -version = "1.0.0" -leftwm_versions = ">0.2.7" -current = false - -[[repos.themes]] -name = "Zexanima" -repository = "https://github.com/calebgasser/zexanima-leftwm-theme/tree/develop" -commit = "*" -version = "0.0.1" -leftwm_versions = ">0.3.0" -current = false - -[[repos]] -url = "localhost" -name = "LOCAL" -definitions_version = 1 -themes = [] diff --git a/non-nix/leftwm/themes/current.diff b/non-nix/leftwm/themes/current.diff deleted file mode 100644 index c298c85..0000000 --- a/non-nix/leftwm/themes/current.diff +++ /dev/null @@ -1,134 +0,0 @@ -Submodule leftwm/themes/current contains modified content -diff --git a/leftwm/themes/current/down b/leftwm/themes/current/down -index 81fcae4..8dce89e 100755 ---- a/leftwm/themes/current/down -+++ b/leftwm/themes/current/down -@@ -14,4 +14,3 @@ pkill picom - pkill polybar - pkill dunst - pkill lxsession -- -diff --git a/leftwm/themes/current/polybar/bars.ini b/leftwm/themes/current/polybar/bars.ini -index 368f5e5..80d09d4 100644 ---- a/leftwm/themes/current/polybar/bars.ini -+++ b/leftwm/themes/current/polybar/bars.ini -@@ -46,6 +46,7 @@ bar-volume-empty = ${bar.empty} - bar-volume-empty-font = 2 - bar-volume-empty-foreground = ${color.sep} - ramp-headphones-0 =  -+click-right = pavucontrol - - [module/brightness] - type = internal/backlight -diff --git a/leftwm/themes/current/polybar/config.ini b/leftwm/themes/current/polybar/config.ini -index 88747c3..e81ff69 100644 ---- a/leftwm/themes/current/polybar/config.ini -+++ b/leftwm/themes/current/polybar/config.ini -@@ -18,7 +18,7 @@ monitor = ${env:monitor} - monitor-fallback = - monitor-strict = false - override-redirect = false --bottom = false -+bottom = true - fixed-center = true - width = 100% - height = 34 -@@ -39,8 +39,8 @@ font-0 = "Iosevka Nerd Font:size=10;4" - font-1 = "Iosevka Nerd Font:size=10;3" - font-2 = "feather:size=12;3" - modules-left = workspaces sep cpu memory filesystem --modules-center = mpd sep date --modules-right = battery network sep volume brightness sep sysmenu sep -+modules-center = -+modules-right = battery network volume brightness sep date - separator = - dim-value = 1.0 - wm-name = -@@ -50,7 +50,7 @@ tray-detached = false - enable-ipc = true - click-left = - click-middle = --click-right = -+click-right = jgmenu_run - scroll-up = - scroll-down = - double-click-left = -diff --git a/leftwm/themes/current/polybar/modules.ini b/leftwm/themes/current/polybar/modules.ini -index 0b2ff0e..0491e61 100644 ---- a/leftwm/themes/current/polybar/modules.ini -+++ b/leftwm/themes/current/polybar/modules.ini -@@ -76,11 +76,11 @@ label = " %percentage%%" - - [module/date] - type = internal/date --interval = 1.0 --date = %A, %d %B --time = at %I:%M %p -+interval = 0.5 -+date = %A, %d.%m.%Y -+time = at %H:%M:%S - date-alt = It's %A, %d %B %Y --time-alt = at %k:%M:%S -+time-alt = at %H:%M:%S - format =