diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-29 16:30:28 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-29 16:30:28 +0530 |
commit | 00aca0696d5c8ec212842c811bc4a6338a942804 (patch) | |
tree | b7180ea348d662a476524ceb5efd3aa09a82b0e1 | |
parent | d6d036d34b395d45211668d3a54a57b32cac4cbe (diff) |
added more useful keybinds
-rw-r--r-- | .config/XMonad/lib/Defaults.hs | 4 | ||||
-rw-r--r-- | .config/XMonad/lib/Keybindings.hs | 8 | ||||
-rw-r--r-- | .doom.d/custom.el | 2 | ||||
-rwxr-xr-x | .xprofile | 4 |
4 files changed, 11 insertions, 7 deletions
diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs index 5f855d0..c36cf6d 100644 --- a/.config/XMonad/lib/Defaults.hs +++ b/.config/XMonad/lib/Defaults.hs @@ -42,7 +42,6 @@ backlightUp = "brightnessctl s +5" backlightDown = "brightnessctl s 5-" wifiOn = "nmcli radio wifi on" -wifiOff :: String wifiOff = "nmcli radio wifi off" screenshot = "flameshot screen" @@ -62,6 +61,9 @@ myFileManager' = "lf" myTextEditor = "doom run" myTextEditor' = "nvim" +myEmailClient = "thunderbird" +myPasswordManager = "keepassxc" + -- workspaces myExtraWorkspaces = [(xK_0, "十")] myWorkspaces = ["一", "二", "三", "四", "五", "六", "七", "八", "九"] ++ map snd myExtraWorkspaces diff --git a/.config/XMonad/lib/Keybindings.hs b/.config/XMonad/lib/Keybindings.hs index ee91379..6e16414 100644 --- a/.config/XMonad/lib/Keybindings.hs +++ b/.config/XMonad/lib/Keybindings.hs @@ -191,6 +191,7 @@ myKeybindingsP = [ , ("M-b d", myScratchpad "arandr") , ("M-b c", myScratchpad "calc") , ("M-b b", myScratchpad "blueman") + , ("M-S-b", myScratchpad "blueman") , ("M-b p", myScratchpad "pavucontrol") , ("M-x", myScratchpad "pavucontrol") , ("M-b m", myScratchpad "BPYTOP") @@ -208,12 +209,11 @@ myKeybindingsP = [ , ("M-n v", spawn $ myBrowser ++ " https://vidhukant.xyz") , ("M-n m", spawn $ myBrowser ++ " https://myanimelist.net/profile/0ZeroTsu") -- other apps - -- TODO: add scrcpy , ("M-y e", spawn myTextEditor) , ("M-d", spawn myTextEditor) , ("M-S-d", spawn "firejail discord") - , ("M-y S-e", spawn "thunderbird") - , ("M-t", spawn "thunderbird") + , ("M-y S-e", spawn myEmailClient) + , ("M-t", spawn myEmailClient) , ("M-y t", spawn myTorrentClient) , ("M-S-t", spawn myTorrentClient) , ("M-y S-t", spawn "torbrowser-launcher") @@ -224,6 +224,8 @@ myKeybindingsP = [ , ("M-v", spawn "virt-manager") , ("M-y b", spawn "brave") , ("M-y p", spawn myFileManager) + , ("M-s", spawn myFileManager) + , ("M-z", spawn myPasswordManager) , ("M-y S-p", spawn $ myTerminal' ++ " -e " ++ myFileManager') -- XMonad , ("M-q q", gridselectWindow myGridSelect >>= flip whenJust (\w -> killWindow w)) diff --git a/.doom.d/custom.el b/.doom.d/custom.el index 7f572db..ff6a149 100644 --- a/.doom.d/custom.el +++ b/.doom.d/custom.el @@ -28,7 +28,7 @@ '(line-number-current-line :slant normal)) ; window transparency -(add-to-list 'default-frame-alist '(alpha . 70)) +(add-to-list 'default-frame-alist '(alpha . 80)) ;; dashboard config @@ -21,8 +21,8 @@ if [[ "$DESKTOP_SESSION" = "xmonad" || "$DESKTOP_SESSION" = "dwm" ]]; then # autostart apps nitrogen --restore & picom & - #dunst & - #udiskie & + dunst & + udiskie & # glava -dm radial & fi |